diff options
author | Andrew Morton <akpm@osdl.org> | 2006-08-13 23:24:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-14 12:54:29 -0700 |
commit | 9b41ea7289a589993d3daabc61f999b4147872c4 (patch) | |
tree | 35a79670ca4493832f1da026a047e3fc9eec0910 /mm/swap.c | |
parent | 2b25742556b1a351ce4821f6feddcba23bdd930b (diff) |
[PATCH] workqueue: remove lock_cpu_hotplug()
Use a private lock instead. It protects all per-cpu data structures in
workqueue.c, including the workqueues list.
Fix a bug in schedule_on_each_cpu(): it was forgetting to lock down the
per-cpu resources.
Unfixed long-standing bug: if someone unplugs the CPU identified by
`singlethread_cpu' the kernel will get very sick.
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions