[PATCH] slub: Don't throw away partial remote slabs if there is no local memory

Christoph Lameter cl at linux.com
Tue Jan 28 03:24:31 EST 2014

On Fri, 24 Jan 2014, Nishanth Aravamudan wrote:

> What I find odd is that there are only 2 nodes on this system, node 0
> (empty) and node 1. So won't numa_mem_id() always be 1? And every page
> should be coming from node 1 (thus node_match() should always be true?)

Well yes that occurs if you specify the node or just always use the
default memory allocation policy.

In order to spread the allocatios over both node you would have to set the
tasks memory allocation policy to MPOL_INTERLEAVE.

More information about the Linuxppc-dev mailing list