]> Git Repo - linux.git/commit - mm/slub.c
SLUB: Make lockdep happy by not calling add_partial with interrupts enabled during...
authorChristoph Lameter <[email protected]>
Tue, 3 Jul 2007 16:31:04 +0000 (09:31 -0700)
committerLinus Torvalds <[email protected]>
Tue, 3 Jul 2007 20:56:13 +0000 (13:56 -0700)
commitdbc55faa64c12f4c9fab6e2bd131d771bc026ed1
treeb43ca5aa30dbfb9ab920db07039f8c76996fd17a
parent746976a301ac9c9aa10d7d42454f8d6cdad8ff2b
SLUB: Make lockdep happy by not calling add_partial with interrupts enabled during bootstrap

If we move the local_irq_enable() to the end of the function then
add_partial() in early_kmem_cache_node_alloc() will be called
with interrupts disabled like during regular operations.

This makes lockdep happy.

Signed-off-by: Christoph Lameter <[email protected]>
Tested-by: Andre Noll <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slub.c
This page took 0.052619 seconds and 4 git commands to generate.