[PATCH v2 0/2] locking/lockdep: Disable KASAN instrumentation of lockdep.c

Waiman Long posted 2 patches 1 year ago
There is a newer version of this series
kernel/locking/Makefile           |  3 ++-
kernel/locking/lock_events_list.h | 21 +++++++++++++++++++++
kernel/locking/rtmutex.c          | 29 ++++++++++++++++++++++++-----
3 files changed, 47 insertions(+), 6 deletions(-)
[PATCH v2 0/2] locking/lockdep: Disable KASAN instrumentation of lockdep.c
Posted by Waiman Long 1 year ago
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 a patch to add locking events to the rtmutex
slow paths for better analysis of the different performance behavior
between RT and non-RT debug kernels.

Waiman Long (2):
  locking/lock_events: Add locking events for rtmutex slow paths
  locking/lockdep: Disable KASAN instrumentation of lockdep.c

 kernel/locking/Makefile           |  3 ++-
 kernel/locking/lock_events_list.h | 21 +++++++++++++++++++++
 kernel/locking/rtmutex.c          | 29 ++++++++++++++++++++++++-----
 3 files changed, 47 insertions(+), 6 deletions(-)

-- 
2.48.1