SLUB: Avoid touching page struct when freeing to per cpu slab
authorChristoph Lameter <clameter@sgi.com>
Tue, 16 Oct 2007 08:26:07 +0000 (01:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:01 +0000 (09:43 -0700)
commitee3c72a14bfecdf783738032ff3c73ef6412f5b3
tree876c2c5d33058be8502504330726bb16b876ba52
parentb3fba8da653999c67d7517050f196e92da6f8d3b
SLUB: Avoid touching page struct when freeing to per cpu slab

Set c->node to -1 if we allocate from a debug slab instead for SlabDebug
which requires access the page struct cacheline.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Tested-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c