Re: [patch 2/8] mm, mempolicy: rename slab_node for clarity

2013-12-04 Thread Christoph Lameter
On Tue, 3 Dec 2013, David Rientjes wrote: > slab_node() is actually a mempolicy function, so rename it to > mempolicy_slab_node() to make it clearer that it used for processes with > mempolicies. Acked-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

[patch 2/8] mm, mempolicy: rename slab_node for clarity

2013-12-03 Thread David Rientjes
slab_node() is actually a mempolicy function, so rename it to mempolicy_slab_node() to make it clearer that it used for processes with mempolicies. At the same time, cleanup its code by saving numa_mem_id() in a local variable (since we require a node with memory, not just any node) and remove an