From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: Athira Rajeev <atrajeev@linux.ibm.com>,
linuxppc-dev@lists.ozlabs.org,
Aboorva Devarajan <aboorvad@linux.ibm.com>
Cc: Christophe Leroy <chleroy@kernel.org>,
Kajol Jain <kjain@linux.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/hv-gpci: fix preempt count leak in sysfs show paths
Date: Mon, 18 May 2026 11:13:18 +0530 [thread overview]
Message-ID: <177908291163.287704.2170377712631320437.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20260508041256.3447113-1-aboorvad@linux.ibm.com>
On Fri, 08 May 2026 09:42:56 +0530, Aboorva Devarajan wrote:
> Four sysfs show() callbacks in hv-gpci take get_cpu_var(hv_gpci_reqb)
> (which calls preempt_disable()) but only call the matching put_cpu_var()
> on the error path under the 'out:' label. Every successful read leaks
> one preempt_disable():
>
> processor_bus_topology_show()
> processor_config_show()
> affinity_domain_via_virtual_processor_show()
> affinity_domain_via_domain_show()
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/hv-gpci: fix preempt count leak in sysfs show paths
https://git.kernel.org/powerpc/c/dbc30a57bd8e026995e9fa8e8c31cffd18542c01
cheers
prev parent reply other threads:[~2026-05-18 5:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-08 4:12 Aboorva Devarajan
2026-05-11 1:37 ` Ritesh Harjani
2026-05-14 5:24 ` Shrikanth Hegde
2026-05-14 5:20 ` Shrikanth Hegde
2026-05-18 5:43 ` Madhavan Srinivasan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177908291163.287704.2170377712631320437.b4-ty@linux.ibm.com \
--to=maddy@linux.ibm.com \
--cc=aboorvad@linux.ibm.com \
--cc=atrajeev@linux.ibm.com \
--cc=chleroy@kernel.org \
--cc=kjain@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®