summaryrefslogtreecommitdiff
path: root/lib/cmdline.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2014-07-15 09:24:15 (GMT)
committerTejun Heo <tj@kernel.org>2014-07-15 15:11:20 (GMT)
commitf7537df5206929c6a6f878da7c8ecd4143793376 (patch)
treec8e2faea1bf12a67da76598694ce560f57fb66e1 /lib/cmdline.c
parent9c34a7042e6fe79b900bd44db03dde8a4ecdf6f6 (diff)
downloadlinux-f7537df5206929c6a6f878da7c8ecd4143793376.tar.xz
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 <laijs@cn.fujitsu.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions