From: Peter Zijlstra Date: Mon, 25 Feb 2008 22:02:48 +0000 (+0100) Subject: lockdep: increase MAX_LOCK_DEPTH X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bdb9441e9c325d50b5ae17f7d3205d65b8ed2e5f;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git lockdep: increase MAX_LOCK_DEPTH 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 Signed-off-by: Ingo Molnar --- diff --git a/include/linux/sched.h b/include/linux/sched.h index e217d188a102..e3ea12437547 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -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];