We're hitting a bug in CI where MAX_STACK_TRACE_ENTRIES is set too low.
My guess is the repeated loading/unloading is creating multiples of the
same entries. As a hack just reset lockdep. This might only be necessary
for CI + PREEMPT_RT.

Signed-off-by: Maarten Lankhorst <[email protected]>
---
 lib/Kconfig.debug | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 1e1776049a84e..e8da58d2bf5c8 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1545,8 +1545,8 @@ config LOCKDEP_CHAINS_BITS
 config LOCKDEP_STACK_TRACE_BITS
        int "Size for MAX_STACK_TRACE_ENTRIES (as Nth power of 2)"
        depends on LOCKDEP && !LOCKDEP_SMALL
-       range 10 26
-       default 19
+       range 22 26
+       default 22
        help
          Try increasing this value if you hit "BUG: MAX_STACK_TRACE_ENTRIES 
too low!" message.
 
-- 
2.51.0

Reply via email to