SLUB: Avoid touching page struct when freeing to per cpu slab
authorChristoph Lameter <[email protected]>
Tue, 16 Oct 2007 08:26:07 +0000 (01:26 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Tested-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slub.c