Skip to content

Commit b483cf3

Browse files
committed
locking/lockdep: Disable cross-release features for now
Johan Hovold reported a big lockdep slowdown on his system, caused by lockdep: > I had noticed that the BeagleBone Black boot time appeared to have > increased significantly with 4.14 and yesterday I finally had time to > investigate it. > > Boot time (from "Linux version" to login prompt) had in fact doubled > since 4.13 where it took 17 seconds (with my current config) compared to > the 35 seconds I now see with 4.14-rc4. > > I quick bisect pointed to lockdep and specifically the following commit: > > 28a903f ("locking/lockdep: Handle non(or multi)-acquisition of a crosslock") Because the final v4.14 release is close, disable the cross-release lockdep features for now. Bisected-by: Johan Hovold <johan@kernel.org> Debugged-by: Johan Hovold <johan@kernel.org> Reported-by: Johan Hovold <johan@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Byungchul Park <byungchul.park@lge.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Tony Lindgren <tony@atomide.com> Cc: kernel-team@lge.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mm@kvack.org Cc: linux-omap@vger.kernel.org Link: http://lkml.kernel.org/r/20171014072659.f2yr6mhm5ha3eou7@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent c7e2f69 commit b483cf3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/Kconfig.debug‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,8 +1092,8 @@ config PROVE_LOCKING
10921092
select DEBUG_MUTEXES
10931093
select DEBUG_RT_MUTEXES if RT_MUTEXES
10941094
select DEBUG_LOCK_ALLOC
1095-
select LOCKDEP_CROSSRELEASE
1096-
select LOCKDEP_COMPLETIONS
1095+
select LOCKDEP_CROSSRELEASE if BROKEN
1096+
select LOCKDEP_COMPLETIONS if BROKEN
10971097
select TRACE_IRQFLAGS
10981098
default n
10991099
help

0 commit comments

Comments
 (0)