[PATCH] workqueue: fix schedule_on_each_cpu()
authorIngo Molnar <mingo@elte.hu>
Mon, 18 Dec 2006 19:05:09 +0000 (20:05 +0100)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 21 Dec 2006 08:20:01 +0000 (00:20 -0800)
commit9bfb18392ef586467277fa25d8f3a7a93611f6df
treee0bb6aab4983a50f54b247ac3db323dbb8d025a2
parent5ccac88eeb5659c716af8e695e2943509c80d172
[PATCH] workqueue: fix schedule_on_each_cpu()

fix the schedule_on_each_cpu() implementation: __queue_work() is now
stricter, hence set the work-pending bit before passing in the new work.

(found in the -rt tree, using Peter Zijlstra's files-lock scalability
patchset)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/workqueue.c