Messages in this thread | | | Date | Tue, 15 Jul 2014 11:12:15 -0400 | From | Tejun Heo <> | Subject | Re: [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
| |