lkml.org 
[lkml]   [2010]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 20 Oct 2010 08:54:00 +0800
FromWu Fengguang <>
SubjectRe: [PATCH wq#for-next] workqueue: Clarify that schedule_on_each_cpu is synchronous
On Tue, Oct 19, 2010 at 05:18:46PM +0800, Tejun Heo 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@csn.ul.ie>
> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> Signed-off-by: Tejun Heo <tj@kernel.org>

Nice comment!

Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>


\
 
 \ /
  Last update: 2010-10-20 02:57    [from the cache]
©2003-2010