On 2025-02-20 17:30:22 [+0100], Marco Elver wrote: > > How much do we care here? Is this something that makes UBSAN + KASAN > > folks uncomfortable? Or is lockdep slowing things down anyway? > > Does this series from Waiman help? > https://lore.kernel.org/all/[email protected]/
I have applied | locking/lock_events: Add locking events for rtmutex slow paths | locking/lock_events: Add locking events for lockdep | locking/lockdep: Disable KASAN instrumentation of lockdep.c | locking/lockdep: Add kasan_check_byte() check in lock_acquire() and with this I am down to: | ~# time ./hardware_disable_test | Random seed: 0x6b8b4567 | | real 0m29.517s | user 0m0.493s | sys 0m10.891s Which is the pre-RCU case. Yes, the series from Waiman helps. This is my favorite solution. Sebastian
