]> Git Repo - linux.git/commit - mm/slub.c
slub: Push irq disable into allocate_slab()
authorChristoph Lameter <[email protected]>
Wed, 1 Jun 2011 17:25:44 +0000 (12:25 -0500)
committerPekka Enberg <[email protected]>
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 <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
mm/slub.c
This page took 0.05026 seconds and 4 git commands to generate.