[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250210042612.978247-1-longman@redhat.com>
Date: Sun, 9 Feb 2025 23:26:09 -0500
From: Waiman Long <longman@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Will Deacon <will.deacon@....com>,
Boqun Feng <boqun.feng@...il.com>
Cc: linux-kernel@...r.kernel.org,
Waiman Long <longman@...hat.com>
Subject: [PATCH v3 0/3] locking/lockdep: Disable KASAN instrumentation of lockdep.c
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
Powered by blists - more mailing lists