mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] livepatch: some improvements
@ 2025-02-23  6:20 Yafang Shao
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Yafang Shao @ 2025-02-23  6:20 UTC (permalink / raw)
  To: jpoimboe, jikos, mbenes, pmladek, joe.lawrence
  Cc: live-patching, linux-kernel, Yafang Shao

  #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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-26  3:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-23  6:20 [PATCH v2 0/2] livepatch: some improvements Yafang Shao
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

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®