diff options
author | Andrew Morton <akpm@osdl.org> | 2006-08-14 08:24:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-14 21:54:29 +0200 |
commit | 9b41ea7289a589993d3daabc61f999b4147872c4 (patch) | |
tree | 35a79670ca4493832f1da026a047e3fc9eec0910 /mm/hugetlb.c | |
parent | [PATCH] fbdev: include backlight.h only when __KERNEL__ is defined (diff) | |
download | linux-9b41ea7289a589993d3daabc61f999b4147872c4.tar.xz linux-9b41ea7289a589993d3daabc61f999b4147872c4.zip |
[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/hugetlb.c')
0 files changed, 0 insertions, 0 deletions