Skip to content

Commit

Permalink
[PATCH] lockdep: double the number of stack-trace entries
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Miles Lane <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Sep 13, 2006
1 parent a4f5749 commit 9bb25bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/lockdep_internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Stack-trace: tightly packed array of stack backtrace
* addresses. Protected by the hash_lock.
*/
#define MAX_STACK_TRACE_ENTRIES 131072UL
#define MAX_STACK_TRACE_ENTRIES 262144UL

extern struct list_head all_lock_classes;

Expand Down

0 comments on commit 9bb25bf

Please sign in to comment.