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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 9b9f7c5935596..ec35b50068a73 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1625,9 +1625,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 21 if KASAN - default 19 + range 22 26 + default 22 help Try increasing this value if you hit "BUG: MAX_STACK_TRACE_ENTRIES too low!" message. -- 2.53.0
