[PATCH v3 0/3] locking/lockdep: Disable KASAN instrumentation of lockdep.c

Waiman Long posted 3 patches 12 months ago
There is a newer version of this series
kernel/locking/Makefile           |  3 ++-
kernel/locking/lock_events_list.h | 28 ++++++++++++++++++++++++++++
kernel/locking/lockdep.c          |  8 +++++++-
kernel/locking/rtmutex.c          | 29 ++++++++++++++++++++++++-----
4 files changed, 61 insertions(+), 7 deletions(-)
[PATCH v3 0/3] locking/lockdep: Disable KASAN instrumentation of lockdep.c
Posted by Waiman Long 12 months ago
 v3: 
  - Add another patch to insert lock events into lockdep.c.
  - Rerun all the tests with the simpler defconfig kernel build and do
    further analysis of the of the performance difference between the
    the RT and non-RT debug kernels.

It is found that disabling KASAN instrumentation when compiling
lockdep.c can significantly improve the performance of RT debug kernel
while the performance benefit of non-RT debug kernel is relatively
modest.

This series also include patches to add locking events to the rtmutex
slow paths and the lockdep code for better analysis of the different
performance behavior between RT and non-RT debug kernels.

Waiman Long (3):
  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

 kernel/locking/Makefile           |  3 ++-
 kernel/locking/lock_events_list.h | 28 ++++++++++++++++++++++++++++
 kernel/locking/lockdep.c          |  8 +++++++-
 kernel/locking/rtmutex.c          | 29 ++++++++++++++++++++++++-----
 4 files changed, 61 insertions(+), 7 deletions(-)

-- 
2.48.1