From: Andrew Morton Date: Mon, 14 Aug 2006 06:24:26 +0000 (-0700) Subject: [PATCH] workqueue: remove lock_cpu_hotplug() X-Git-Tag: v2.6.18-rc5~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b41ea7289a589993d3daabc61f999b4147872c4;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed