Re: [PATCH wq#for-next] workqueue: Clarify thatschedule_on_each_cpu is synchronous
From: KAMEZAWA Hiroyuki
Date: Tue Oct 19 2010 - 20:25:48 EST
On Tue, 19 Oct 2010 11:18:46 +0200
Tejun Heo <tj@xxxxxxxxxx> wrote:
> 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@xxxxxxxxx>
> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/