Messages in this thread Patch in this message | | | From | Joao Correia <> | Date | Tue, 7 Jul 2009 16:25:03 +0100 | Subject | [PATCH 1/3] Increase lockdep limits: MAX_STACK_TRACE_ENTRIES |
| |
(Applies to current Linus tree, as of 2.6.31-rc2)
As it stands now, the limit is too low and is being hit by false positives. Increasing its value will allow for more room to work with.
This was suggested by Ingo Molnar (http://article.gmane.org/gmane.linux.kernel/852005) but never submitted as a patch, to the best of my knowledge.
Signed-off-by: Joao Correia <joaomiguelcorreia@gmail.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 @@ -65,7 +65,7 @@ enum { * Stack-trace: tightly packed array of stack backtrace * addresses. Protected by the hash_lock. */ -#define MAX_STACK_TRACE_ENTRIES 262144UL +#define MAX_STACK_TRACE_ENTRIES 1048576UL
extern struct list_head all_lock_classes; extern struct lock_chain lock_chains[]; ---
| |