aboutsummaryrefslogtreecommitdiff
path: root/kernel/workqueue_internal.h
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2014-07-15 17:24:15 +0800
committerMoyster <oysterized@gmail.com>2017-12-05 18:05:45 +0100
commit9ea86b3afcea80d38b094588a2be9c5b4f37afe4 (patch)
treea4ce878fa7e287bf015d796ccd692b8461350638 /kernel/workqueue_internal.h
parent8aba9fb1a6ec968ac88a984a1fd0b373369ed54d (diff)
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 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions