commit | e2273584d3f33f7f2cfe6d7aaade0fa2f1cb3db5 | [log] [tgz] |
---|---|---|
author | Xunlei Pang <pang.xunlei@linaro.org> | Fri Oct 09 11:53:12 2015 +0800 |
committer | Tejun Heo <tj@kernel.org> | Mon Oct 12 12:17:31 2015 -0400 |
tree | 0d6a5b90dcf356e4739b34ac8f46cd65a607673d | |
parent | 25cb62b76430a91cc6195f902e61c2cb84ade622 [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 <pang.xunlei@linaro.org> Signed-off-by: Tejun Heo <tj@kernel.org>