aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorXunlei Pang <[email protected]>2015-10-09 11:53:12 +0800
committerTejun Heo <[email protected]>2015-10-12 12:17:31 -0400
commite2273584d3f33f7f2cfe6d7aaade0fa2f1cb3db5 (patch)
tree0d6a5b90dcf356e4739b34ac8f46cd65a607673d /tools/perf/util/c++/clang-test.cpp
parent25cb62b76430a91cc6195f902e61c2cb84ade622 (diff)
workqueue: Allocate the unbound pool using local node memory
Currently, get_unbound_pool() uses kzalloc() to allocate the worker pool. Actually, we can use the right node to do the allocation, achieving local memory access. This patch selects target node first, and uses kzalloc_node() instead. Signed-off-by: Xunlei Pang <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions