summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-06-04 16:11:11 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 16:54:14 -0700
commit72d09633c9afa02bea317d65eb8b8a4ce7659a2a (patch)
tree0ba5329fbb8261c0b24591532d2bc83a4067a2e4 /init
parentd867f203b974e9a670028fda909ef09044b221f6 (diff)
downloadlinux-stable-72d09633c9afa02bea317d65eb8b8a4ce7659a2a.tar.gz
linux-stable-72d09633c9afa02bea317d65eb8b8a4ce7659a2a.tar.bz2
linux-stable-72d09633c9afa02bea317d65eb8b8a4ce7659a2a.zip
mm/zswap: NUMA aware allocation for zswap_dstmem
zswap_dstmem is a percpu block of memory, which should be allocated using kmalloc_node(), to get better NUMA locality. Without it, all the blocks are allocated from a single node. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Seth Jennings <sjennings@variantweb.net> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions