summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mdsmap.c
diff options
context:
space:
mode:
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>2014-06-06 23:35:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-07 01:08:06 +0200
commit844e4d66f4ec3b6b6d3bcfcfba3ade2b962771e2 (patch)
treeca10d7206cbaec5ff54b3c41ac9615f0d566393e /fs/ceph/mdsmap.c
parentmm: vmscan: clear kswapd's special reclaim powers before exiting (diff)
downloadlinux-844e4d66f4ec3b6b6d3bcfcfba3ade2b962771e2.tar.xz
linux-844e4d66f4ec3b6b6d3bcfcfba3ade2b962771e2.zip
slub: search partial list on numa_mem_id(), instead of numa_node_id()
Currently, if allocation constraint to node is NUMA_NO_NODE, we search a partial slab on numa_node_id() node. This doesn't work properly on a system having memoryless nodes, since it can have no memory on that node so there must be no partial slab on that node. On that node, page allocation always falls back to numa_mem_id() first. So searching a partial slab on numa_node_id() in that case is the proper solution for the memoryless node case. Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Acked-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com> Acked-by: David Rientjes <rientjes@google.com> Acked-by: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: Wanpeng Li <liwanp@linux.vnet.ibm.com> Cc: Han Pingtian <hanpt@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ceph/mdsmap.c')
0 files changed, 0 insertions, 0 deletions