diff options
author | 2014-07-15 17:24:15 +0800 | |
---|---|---|
committer | 2014-07-15 11:11:20 -0400 | |
commit | f7537df5206929c6a6f878da7c8ecd4143793376 (patch) | |
tree | c8e2faea1bf12a67da76598694ce560f57fb66e1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | workqueue: reuse the already calculated pwq in try_to_grab_pending() (diff) | |
download | linux-dev-f7537df5206929c6a6f878da7c8ecd4143793376.tar.xz linux-dev-f7537df5206929c6a6f878da7c8ecd4143793376.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions