lkml.org 
[lkml]   [2014]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] workqueue: alloc struct worker on its local node
On Tue, Jul 15, 2014 at 05:24:15PM +0800, Lai Jiangshan wrote:
> When the create_worker() is called from non-manager, the struct worker
> is allocated from the node of the caller which may be different from the
> node of pool->node.
>
> So we add a node ID argument for the alloc_worker() to ensure the
> struct worker is allocated from the preferable node.
>
> Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>

I renamed @nid to @node as everything else in that file is using @node
for node id.

Applied to wq/for-3.17.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2014-07-19 17:41    [W:0.144 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site