diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2017-05-24 10:15:16 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-05-26 10:10:36 +0200 |
commit | fe5595c074005bd94f0c7d1644175941149f6768 (patch) | |
tree | dbdc36f344ab77ec7d2624687ae46fc787059b46 /Documentation/siphash.txt | |
parent | 9805c6733349ea3ccd22cf75b8ebaabb5290e310 (diff) | |
download | blackbird-obmc-linux-fe5595c074005bd94f0c7d1644175941149f6768.tar.gz blackbird-obmc-linux-fe5595c074005bd94f0c7d1644175941149f6768.zip |
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 <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-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.400700852@linutronix.de
Diffstat (limited to 'Documentation/siphash.txt')
0 files changed, 0 insertions, 0 deletions