diff options
| author | Shrikanth Hegde <sshegde@linux.ibm.com> | 2026-04-27 07:47:14 +0300 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-06-02 08:54:32 +0300 |
| commit | 1f8986fdae91880411a3be907879ba63973da100 (patch) | |
| tree | 02fb4f7a9110ad0899742a14d741a65bb124092e /include/linux/stackprotector.h | |
| parent | a66eab7a5d7decadad51b4204c6f2f0d8cf665d1 (diff) | |
| download | linux-1f8986fdae91880411a3be907879ba63973da100.tar.xz | |
powerpc/perf: Use cpumask_intersects api for checking disable path
First online CPU in the node disables the nest counters by
making an OPAL call. Any other CPU in that node, will bail out.
Instead of using a temporary mask to find out if any cpu in the
node is visited or not, it is better to use the cpumask_intersects
api to achieve the same.
Similarly a temporary cpumask is used to check if a core is already part
of core_imc_cpumask. Use the same cpumask_intersects api there.
Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Reviewed-by: Yury Norov <ynorov@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260427044715.559137-4-sshegde@linux.ibm.com
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
