summaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorOleg Nesterov2008-04-29 10:00:29 +0200
committerLinus Torvalds2008-04-29 17:06:11 +0200
commitd2ba7e2ae206e9ab24e8937d99d0d5513bfd08e5 (patch)
tree4cdd43bbf03885705fed5c80e982d19d397afaeb /arch/Kconfig
parentcleanup_workqueue_thread: remove the unneeded "cpu" parameter (diff)
downloadkernel-qcow2-linux-d2ba7e2ae206e9ab24e8937d99d0d5513bfd08e5.tar.gz
kernel-qcow2-linux-d2ba7e2ae206e9ab24e8937d99d0d5513bfd08e5.tar.xz
kernel-qcow2-linux-d2ba7e2ae206e9ab24e8937d99d0d5513bfd08e5.zip
simplify cpu_hotplug_begin()/put_online_cpus()
cpu_hotplug_begin() must be always called under cpu_add_remove_lock, this means that only one process can be cpu_hotplug.active_writer. So we don't need the cpu_hotplug.writer_queue, we can wake up the ->active_writer directly. Also, fix the comment. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Dipankar Sarma <dipankar@in.ibm.com> Acked-by: Gautham R Shenoy <ego@in.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions