slub: Push irq disable into allocate_slab()
authorChristoph Lameter <cl@linux.com>
Wed, 1 Jun 2011 17:25:44 +0000 (12:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:26:52 +0000 (13:26 +0300)
commit7e0528dadc9f8b04e4de0dba48a075100c2afe75
tree708bd8384d867d276d36faa6bfc33fb41fe051f3
parente4a46182e1bcc2ddacff5a35f6b52398b51f1b11
slub: Push irq disable into allocate_slab()

Do the irq handling in allocate_slab() instead of __slab_alloc().

__slab_alloc() is already cluttered and allocate_slab() is already
fiddling around with gfp flags.

v6->v7:
Only increment ORDER_FALLBACK if we get a page during fallback

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c