diff options
| author | Oleg Nesterov <[email protected]> | 2008-04-29 01:00:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-29 08:06:11 -0700 |
| commit | d2ba7e2ae206e9ab24e8937d99d0d5513bfd08e5 (patch) | |
| tree | 4cdd43bbf03885705fed5c80e982d19d397afaeb /include/linux | |
| parent | 1e35eaa2d86419470f3f3aed9acd85b8addff25c (diff) | |
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 <[email protected]>
Cc: Dipankar Sarma <[email protected]>
Acked-by: Gautham R Shenoy <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Srivatsa Vaddagiri <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions