aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2023-04-03 09:08:58 +0000
committerPeter Zijlstra <[email protected]>2023-04-05 07:58:46 +0000
commitb168098912926236bbeebaf7795eb7aab76d2b45 (patch)
tree325d00ea96f4c6f67e86712514e4b277521475e2 /tools/perf/scripts/python/powerpc-hcalls.py
parentLinux 6.3-rc4 (diff)
downloadkernel-b168098912926236bbeebaf7795eb7aab76d2b45.tar.gz
kernel-b168098912926236bbeebaf7795eb7aab76d2b45.zip
perf: Optimize perf_pmu_migrate_context()
Thomas reported that offlining CPUs spends a lot of time in synchronize_rcu() as called from perf_pmu_migrate_context() even though he's not actually using uncore events. Turns out, the thing is unconditionally waiting for RCU, even if there's no actual events to migrate. Fixes: 0cda4c023132 ("perf: Introduce perf_pmu_migrate_context()") Reported-by: Thomas Gleixner <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Thomas Gleixner <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Reviewed-by: Paul E. McKenney <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions