summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2014-07-15 17:24:15 +0800
committerTejun Heo <tj@kernel.org>2014-07-15 11:11:20 -0400
commitf7537df5206929c6a6f878da7c8ecd4143793376 (patch)
treec8e2faea1bf12a67da76598694ce560f57fb66e1 /virt/kvm
parent9c34a7042e6fe79b900bd44db03dde8a4ecdf6f6 (diff)
downloadop-kernel-dev-f7537df5206929c6a6f878da7c8ecd4143793376.zip
op-kernel-dev-f7537df5206929c6a6f878da7c8ecd4143793376.tar.gz
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 'virt/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud