lockdep: increase MAX_LOCK_DEPTH
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 25 Feb 2008 22:02:48 +0000 (23:02 +0100)
committerPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 25 Feb 2008 22:02:48 +0000 (23:02 +0100)
Some code paths exceed the current max lock depth (XFS), so increase
this limit a bit. I looked at making this a dynamic allocated array,
but we should not advocate insane lock depths, so stay with this as
long as it works...

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h

index e217d188a102bec8b15693f6a871945f823431be..e3ea12437547df77f5f2ad82697e32965fcaf96f 100644 (file)
@@ -1189,7 +1189,7 @@ struct task_struct {
        int softirq_context;
 #endif
 #ifdef CONFIG_LOCKDEP
-# define MAX_LOCK_DEPTH 30UL
+# define MAX_LOCK_DEPTH 48UL
        u64 curr_chain_key;
        int lockdep_depth;
        struct held_lock held_locks[MAX_LOCK_DEPTH];
This page took 0.027954 seconds and 5 git commands to generate.