SLUB: fix locking for hotplug callbacks
authorChristoph Lameter <clameter@sgi.com>
Fri, 1 Jun 2007 07:47:09 +0000 (00:47 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 1 Jun 2007 15:18:30 +0000 (08:18 -0700)
commit27390bc335ff86d92c3819cc28035fde23d1a9c2
tree2812436fe897a1211c244f85db2a4d79fff673ff
parentac140a8f8396504b33ddafb7309feca77bff8497
SLUB: fix locking for hotplug callbacks

Hotplug callbacks are performed with interrupts enabled.  Slub requires
interrupts to be disabled for flushing caches.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c