Oleg Nesterov d2ba7e2ae2 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>
2008-04-29 08:06:11 -07:00
..
2008-04-25 00:25:08 +02:00
2008-02-14 21:13:33 -08:00
2008-04-19 09:59:43 +10:00
2008-04-28 08:58:22 -07:00
2008-04-29 08:06:10 -07:00
2008-04-29 08:06:10 -07:00
2008-03-30 14:18:41 -07:00
2008-03-30 14:18:41 -07:00
2008-04-28 08:58:23 -07:00
2008-02-08 09:22:31 -08:00
2008-04-29 08:05:59 -07:00
2008-02-08 09:22:31 -08:00
2008-02-13 16:21:18 -08:00
2008-04-19 19:45:01 +02:00
2008-04-19 19:45:00 +02:00
2008-04-19 19:45:00 +02:00
2008-04-17 10:43:01 -04:00
2008-04-21 22:15:06 +00:00
2008-04-29 08:05:59 -07:00
2008-04-17 12:22:31 +02:00
2008-02-08 09:22:31 -08:00