diff options
author | 2017-05-24 10:15:14 +0200 | |
---|---|---|
committer | 2017-05-26 10:10:35 +0200 | |
commit | 71def423fe3da0d40ad3427a4cd5f9edc53bff67 (patch) | |
tree | 71a4e6c37a8972226dcf828474b8090d355a727f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cpu/hotplug: Provide lockdep_assert_cpus_held() (diff) | |
download | wireguard-linux-71def423fe3da0d40ad3427a4cd5f9edc53bff67.tar.xz wireguard-linux-71def423fe3da0d40ad3427a4cd5f9edc53bff67.zip |
cpu/hotplug: Provide cpuhp_setup/remove_state[_nocalls]_cpuslocked()
Some call sites of cpuhp_setup/remove_state[_nocalls]() are within a
cpus_read locked region.
cpuhp_setup/remove_state[_nocalls]() call cpus_read_lock() as well, which
is possible in the current implementation but prevents converting the
hotplug locking to a percpu rwsem.
Provide locked versions of the interfaces to avoid nested calls to
cpus_read_lock().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170524081547.239600868@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions