From: Waiman Long <longman@redhat.com>
To: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>, Will Deacon <will.deacon@arm.com>,
Boqun Feng <boqun.feng@gmail.com>
Cc: linux-kernel@vger.kernel.org, Waiman Long <longman@redhat.com>
Subject: [PATCH v2 0/2] locking/lockdep: Disable KASAN instrumentation of lockdep.c
Date: Tue, 4 Feb 2025 20:24:09 -0500 [thread overview]
Message-ID: <20250205012411.1010817-1-longman@redhat.com> (raw)
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
next reply other threads:[~2025-02-05 1:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-05 1:24 Waiman Long [this message]
2025-02-05 1:24 ` [PATCH v2 1/2] locking/lock_events: Add locking events for rtmutex slow paths Waiman Long
2025-02-05 1:24 ` [PATCH v2 2/2] locking/lockdep: Disable KASAN instrumentation of lockdep.c Waiman Long
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250205012411.1010817-1-longman@redhat.com \
--to=longman@redhat.com \
--cc=boqun.feng@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®