summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-06-25 18:22:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2021-01-31 22:21:03 +0000
commitdb8c5efa5c9e7994ee17df614ac6e0a027b4c50a (patch)
treeccbce663e5719939bd91eda7c2777704ef2d6ab6
parent904e7280bba21652777ee8a2faee8170e18f071c (diff)
lockdep: Bump MAX_STACK_TRACE_ENTRIES
With our module reloading for selftests, we also quickly exhaust the packed stack trace storage, so give it a little bump at the expense of reserving a lot more memory for lockdep debugging. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
-rw-r--r--kernel/locking/lockdep_internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/lockdep_internals.h b/kernel/locking/lockdep_internals.h
index d717295dae1a..5b04cc52026d 100644
--- a/kernel/locking/lockdep_internals.h
+++ b/kernel/locking/lockdep_internals.h
@@ -107,7 +107,7 @@ static const unsigned long LOCKF_USED_IN_IRQ_READ =
* Stack-trace: tightly packed array of stack backtrace
* addresses. Protected by the hash_lock.
*/
-#define MAX_STACK_TRACE_ENTRIES 524288UL
+#define MAX_STACK_TRACE_ENTRIES 1048576UL
#define STACK_TRACE_HASH_SIZE 16384
#endif