slab, lockdep: Fix silly bug
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 28 Nov 2011 20:12:40 +0000 (21:12 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 08:44:00 +0000 (09:44 +0100)
commit52cef189165d74a5d6030184a8e05595194c69ca
treec7c4c612d14d9d6bdb24fda2725cb3da09badfed
parent8e8da023f5af71662867729db5547dc54786093c
slab, lockdep: Fix silly bug

Commit 30765b92 ("slab, lockdep: Annotate the locks before using
them") moves the init_lock_keys() call from after g_cpucache_up =
FULL, to before it. And overlooks the fact that init_node_lock_keys()
tests for it and ignores everything !FULL.

Introduce a LATE stage and change the lockdep test to be <LATE.

Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: stable@kernel.org
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
mm/slab.c