]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit808ed06afed4a8d83b671ffd6438b8f26c2cca56
treec7c4c612d14d9d6bdb24fda2725cb3da09badfed
parent8674c426463920dd9c52b1e8cf3f2a9b5553023a
slab, lockdep: Fix silly bug

Commit 0074b616 ("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