summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-04-29 01:00:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 08:06:11 -0700
commitd2ba7e2ae206e9ab24e8937d99d0d5513bfd08e5 (patch)
tree4cdd43bbf03885705fed5c80e982d19d397afaeb /arch
parent1e35eaa2d86419470f3f3aed9acd85b8addff25c (diff)
downloadlinux-d2ba7e2ae206e9ab24e8937d99d0d5513bfd08e5.tar.gz
linux-d2ba7e2ae206e9ab24e8937d99d0d5513bfd08e5.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions