]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e2bdb6031580e1d4ebd810f1a3ea49aedf952c4
tree0730b0d2b5b3c1e8286569580de92228e097af51
parentac553023745a4cf9949199951cc46b9d34e7feec
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