SLUB: simplify IRQ off handling
authorChristoph Lameter <clameter@sgi.com>
Wed, 17 Oct 2007 06:25:51 +0000 (23:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:45 +0000 (08:42 -0700)
commitb811c202a0edadaac7242ab834fe7ba409978ae7
tree339a29474e6b1abfd5c172bbe57484e5569d8b7e
parent3e26c149c358529b1605f8959341d34bc4b880a3
SLUB: simplify IRQ off handling

Move irq handling out of new slab into __slab_alloc.  That is useful for
Mathieu's cmpxchg_local patchset and also allows us to remove the crude
local_irq_off in early_kmem_cache_alloc().

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