Commit 9bb25bf36f0d7b06368432e2324dbbc2e98b5e60

Authored by Ingo Molnar
Committed by Linus Torvalds
1 parent a4f5749ba6

[PATCH] lockdep: double the number of stack-trace entries

Miles Lane reported the "BUG: MAX_STACK_TRACE_ENTRIES too low!" message,
which means that during normal use his system produced enough lockdep
events so that the 128-thousand entries stack-trace array got exhausted.
Double the size of the array.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Miles Lane <miles.lane@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

kernel/lockdep_internals.h
... ... @@ -27,7 +27,7 @@
27 27 * Stack-trace: tightly packed array of stack backtrace
28 28 * addresses. Protected by the hash_lock.
29 29 */
30   -#define MAX_STACK_TRACE_ENTRIES 131072UL
  30 +#define MAX_STACK_TRACE_ENTRIES 262144UL
31 31  
32 32 extern struct list_head all_lock_classes;
33 33