summaryrefslogtreecommitdiffstats
path: root/crypto/twofish_common.c
diff options
context:
space:
mode:
authorXunlei Pang <pang.xunlei@linaro.org>2015-10-09 05:53:12 +0200
committerTejun Heo <tj@kernel.org>2015-10-12 18:17:31 +0200
commite2273584d3f33f7f2cfe6d7aaade0fa2f1cb3db5 (patch)
tree0d6a5b90dcf356e4739b34ac8f46cd65a607673d /crypto/twofish_common.c
parentLinux 4.3-rc5 (diff)
downloadlinux-e2273584d3f33f7f2cfe6d7aaade0fa2f1cb3db5.tar.xz
linux-e2273584d3f33f7f2cfe6d7aaade0fa2f1cb3db5.zip
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>
Diffstat (limited to 'crypto/twofish_common.c')
0 files changed, 0 insertions, 0 deletions