From: Eric Dumazet Date: Wed, 4 Jun 2014 23:11:11 +0000 (-0700) Subject: mm/zswap: NUMA aware allocation for zswap_dstmem X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72d09633c9afa02bea317d65eb8b8a4ce7659a2a;p=pandora-kernel.git 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 Acked-by: Seth Jennings Acked-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed