From: Lai Jiangshan Date: Tue, 15 Jul 2014 09:24:15 +0000 (+0800) Subject: workqueue: alloc struct worker on its local node X-Git-Tag: cleanup-for-v3.18~151^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7537df5206929c6a6f878da7c8ecd4143793376;p=pandora-kernel.git workqueue: alloc struct worker on its local node 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. tj: @nid renamed to @node for consistency. Signed-off-by: Lai Jiangshan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed