summaryrefslogtreecommitdiff
path: root/fs/locks.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-14 10:24:26 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-08-14 23:54:29 +0400
commit9b41ea7289a589993d3daabc61f999b4147872c4 (patch)
tree35a79670ca4493832f1da026a047e3fc9eec0910 /fs/locks.c
parent2b25742556b1a351ce4821f6feddcba23bdd930b (diff)
downloadlinux-9b41ea7289a589993d3daabc61f999b4147872c4.tar.xz
[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 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions