workqueue: Clarify that schedule_on_each_cpu is synchronous
commit31ddd871fc3db73e2024cb3eb3ee5051edf5a80f
authorTejun Heo <tj@kernel.org>
Tue, 19 Oct 2010 09:14:49 +0000 (19 11:14 +0200)
committerTejun Heo <tj@kernel.org>
Tue, 19 Oct 2010 09:14:49 +0000 (19 11:14 +0200)
tree3a2d578ec9ebefecca5e4cad196023bbe1a7d0f2
parent10ccd84695c2a03075bad2f4fc728575fe9051f8
workqueue: Clarify that schedule_on_each_cpu is synchronous

The documentation for schedule_on_each_cpu() states that it calls a
function on each online CPU from keventd.  This can easily be
interpreted as an asyncronous call because the description does not
mention that flush_work is called.  Clarify that it is synchronous.

tj: rephrased a bit

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c