[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 7 Jul 2009 16:25:14 +0100
From: Joao Correia <joaomiguelcorreia@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Amerigo Wang <xiyou.wangcong@...il.com>, a.p.zijlstra@...llo.nl
Subject: [PATCH 3/3] Increase lockdep limits: MAX_LOCKDEP_CHAINS_BITS
(Applies to current Linus tree, as of 2.6.31-rc2)
A third limit becomes apparent as being too low after raising
MAX_STACK_TRACE_ENTRIES and MAX_LOCK_DEPTH, although this one is more
elusive to trigger.
Signed-off-by: Joao Correia <joaomiguelcorreia@...il.com>
---
kernel/lockdep_internals.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/lockdep_internals.h b/kernel/lockdep_internals.h
index 699a2ac..93af1f1 100644
--- a/kernel/lockdep_internals.h
+++ b/kernel/lockdep_internals.h
@@ -56,7 +56,7 @@ enum {
*/
#define MAX_LOCKDEP_ENTRIES 16384UL
-#define MAX_LOCKDEP_CHAINS_BITS 15
+#define MAX_LOCKDEP_CHAINS_BITS 16
#define MAX_LOCKDEP_CHAINS (1UL << MAX_LOCKDEP_CHAINS_BITS)
#define MAX_LOCKDEP_CHAIN_HLOCKS (MAX_LOCKDEP_CHAINS*5)
---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists