Re: [PATCH] workqueue: alloc struct worker on its local node

From: Tejun Heo
Date: Tue Jul 15 2014 - 11:12:28 EST


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@xxxxxxxxxxxxxx>

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
--
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/