From: Yafang Shao <laoar.shao@gmail.com>
To: jpoimboe@kernel.org, mbenes@suse.cz, pmladek@suse.com,
joe.lawrence@redhat.com, song@kernel.org
Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org,
Yafang Shao <laoar.shao@gmail.com>
Subject: [PATCH v3 0/2] livepatch: Reduce tasklist_lock contention
Date: Thu, 26 Nov 2026 15:28:27 +0800 [thread overview]
Message-ID: <20261126072829.97792-1-laoar.shao@gmail.com> (raw)
Patch #1 fixes a pre-existing issue on PREEMPT_RT, which patch #2 relies on
Patch #2 reduces the lock contention in the livepatch transition
Changes:
v2->v3:
- fixes a pre-existing issue on RT (sashiko-bot)
v2: https://lore.kernel.org/live-patching/20261123024119.16154-1-laoar.shao@gmail.com/
v1->v2:
- improve further by skipping the second pass if the first pass fail
(Josh)
- fix race between klp_try_complete_transition() and
klp_copy_process() (sashiko-bot)
v1: https://lore.kernel.org/live-patching/20261117130848.65142-1-laoar.shao@gmail.com/
Yafang Shao (2):
livepatch: Protect the per-CPU stack buffer in klp_check_stack()
livepatch: Avoid blocking tasklist_lock too long
kernel/livepatch/transition.c | 74 ++++++++++++++++++++++++++++-------
1 file changed, 59 insertions(+), 15 deletions(-)
--
2.52.0
next reply other threads:[~2026-11-26 7:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 7:28 Yafang Shao [this message]
2026-11-26 7:28 ` [PATCH v3 1/2] livepatch: Protect the per-CPU stack buffer in klp_check_stack() Yafang Shao
2026-11-26 7:28 ` [PATCH v3 2/2] livepatch: Avoid blocking tasklist_lock too long Yafang Shao
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=20261126072829.97792-1-laoar.shao@gmail.com \
--to=laoar.shao@gmail.com \
--cc=joe.lawrence@redhat.com \
--cc=jpoimboe@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=live-patching@vger.kernel.org \
--cc=mbenes@suse.cz \
--cc=pmladek@suse.com \
--cc=song@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).