[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:18:42 EST 2014

On Fri, 24 Jan 2014, Nishanth Aravamudan wrote:

> As to cpu_to_node() being passed to kmalloc_node(), I think an
> appropriate fix is to change that to cpu_to_mem()?


> > Yeah, the default policy should be to fallback to local memory if the node
> > passed is memoryless.
> Thanks!

I would suggest to use NUMA_NO_NODE instead. That will fit any slab that
we may be currently allocating from or can get a hold of and is mosty

More information about the Linuxppc-dev mailing list