[PATCH v2 0/2] livepatch: some improvements

Yafang Shao posted 2 patches 9 months, 3 weeks ago
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(-)
[PATCH v2 0/2] livepatch: some improvements
Posted by Yafang Shao 9 months, 3 weeks ago
  #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