]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9d112fcb7fec88919d65a1e5540840604ff271a
tree708bd8384d867d276d36faa6bfc33fb41fe051f3
parent91da01670d642c9cc03138a36331962014d12733
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