From: Yafang Shao <laoar.shao@gmail.com>
To: jpoimboe@kernel.org, jikos@kernel.org, mbenes@suse.cz,
pmladek@suse.com, joe.lawrence@redhat.com
Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org,
Yafang Shao <laoar.shao@gmail.com>
Subject: [PATCH v2 0/2] livepatch: some improvements
Date: Sun, 23 Feb 2025 14:20:44 +0800 [thread overview]
Message-ID: <20250223062046.2943-1-laoar.shao@gmail.com> (raw)
#1: Clarify klp_add_nops()
#2: Replace the tasklist_lock with RCU in the KLP transition
v1->v2:
- Enhance the comment in #1 for better clarity and detail. (Petr)
- Replace the tasklist_lock with RCU (Josh)
- Remove the fix for RCU warnings as the root cause is currently unclear.
Once the root cause is identified, I will submit the fix separately.
v1: https://lore.kernel.org/live-patching/20250211062437.46811-1-laoar.shao@gmail.com/
Yafang Shao (2):
livepatch: Add comment to clarify klp_add_nops()
livepatch: Replace tasklist_lock with RCU
include/linux/livepatch.h | 4 ++--
kernel/fork.c | 2 +-
kernel/livepatch/core.c | 9 ++++++---
kernel/livepatch/patch.c | 7 ++++++-
kernel/livepatch/transition.c | 35 ++++++++++++++---------------------
kernel/livepatch/transition.h | 1 +
6 files changed, 30 insertions(+), 28 deletions(-)
--
2.43.5
next reply other threads:[~2025-02-23 6:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-23 6:20 Yafang Shao [this message]
2025-02-23 6:20 ` [PATCH v2 1/2] livepatch: Add comment to clarify klp_add_nops() Yafang Shao
2025-02-23 6:20 ` [PATCH v2 2/2] livepatch: Replace tasklist_lock with RCU Yafang Shao
2025-02-25 18:33 ` Josh Poimboeuf
2025-02-26 3:46 ` 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=20250223062046.2943-1-laoar.shao@gmail.com \
--to=laoar.shao@gmail.com \
--cc=jikos@kernel.org \
--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 \
/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®