slub: pass page to node_match() instead of kmem_cache_cpu structure
authorChristoph Lameter <cl@linux.com>
Wed, 9 May 2012 15:09:59 +0000 (10:09 -0500)
committerPekka Enberg <penberg@kernel.org>
Fri, 1 Jun 2012 06:25:41 +0000 (09:25 +0300)
commit57d437d2aa680f42d75cef45205834d5f605550a
tree0730b0d2b5b3c1e8286569580de92228e097af51
parentf6e7def7f7d749759e4bf36dcc25ae289a20d868
slub: pass page to node_match() instead of kmem_cache_cpu structure

Avoid passing the kmem_cache_cpu pointer to node_match. This makes the
node_match function more generic and easier to understand.

Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c