Messages in this thread Patch in this message | | | Date | Tue, 17 Jul 2007 19:34:37 +0200 | From | Peter Zijlstra <> | Subject | [RFC/T PATCH 09/12] lockdep: increase MAX_LOCK_DEPTH |
| |
we can easily hold PAGE_VEC (and more in places) page locks.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/include/linux/sched.h =================================================================== --- linux-2.6.orig/include/linux/sched.h +++ linux-2.6/include/linux/sched.h @@ -1246,7 +1246,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]; --
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |