[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250223062046.2943-1-laoar.shao@gmail.com>
Date: Sun, 23 Feb 2025 14:20:44 +0800
From: Yafang Shao <laoar.shao@...il.com>
To: jpoimboe@...nel.org,
jikos@...nel.org,
mbenes@...e.cz,
pmladek@...e.com,
joe.lawrence@...hat.com
Cc: live-patching@...r.kernel.org,
linux-kernel@...r.kernel.org,
Yafang Shao <laoar.shao@...il.com>
Subject: [PATCH v2 0/2] livepatch: some improvements
#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
Powered by blists - more mailing lists