diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2017-05-24 10:15:16 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-05-26 10:10:36 +0200 |
commit | fe5595c074005bd94f0c7d1644175941149f6768 (patch) | |
tree | dbdc36f344ab77ec7d2624687ae46fc787059b46 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9805c6733349ea3ccd22cf75b8ebaabb5290e310 (diff) |
stop_machine: Provide stop_machine_cpuslocked()
Some call sites of stop_machine() are within a get_online_cpus() protected
region.
stop_machine() calls get_online_cpus() as well, which is possible in the
current implementation but prevents converting the hotplug locking to a
percpu rwsem.
Provide stop_machine_cpuslocked() to avoid nested calls to get_online_cpus().
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Paul E. McKenney <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions