diff options
| author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2014-07-15 17:24:15 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-12-05 18:05:45 +0100 |
| commit | 9ea86b3afcea80d38b094588a2be9c5b4f37afe4 (patch) | |
| tree | a4ce878fa7e287bf015d796ccd692b8461350638 /kernel/sysctl_binary.c | |
| parent | 8aba9fb1a6ec968ac88a984a1fd0b373369ed54d (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/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
