diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-02-25 17:02:48 -0500 |
---|---|---|
committer | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-02-25 17:02:48 -0500 |
commit | bdb9441e9c325d50b5ae17f7d3205d65b8ed2e5f (patch) | |
tree | 2696d81a8c3f5bf128aab134b1f23c14d539baac /include | |
parent | bfa274e2436fc7ef72ef51c878083647f1cfd429 (diff) |
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 <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
1189 | int softirq_context; | 1189 | int softirq_context; |
1190 | #endif | 1190 | #endif |
1191 | #ifdef CONFIG_LOCKDEP | 1191 | #ifdef CONFIG_LOCKDEP |
1192 | # define MAX_LOCK_DEPTH 30UL | 1192 | # define MAX_LOCK_DEPTH 48UL |
1193 | u64 curr_chain_key; | 1193 | u64 curr_chain_key; |
1194 | int lockdep_depth; | 1194 | int lockdep_depth; |
1195 | struct held_lock held_locks[MAX_LOCK_DEPTH]; | 1195 | struct held_lock held_locks[MAX_LOCK_DEPTH]; |