mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] livepatch: Reduce tasklist_lock contention
@ 2026-11-26  7:28 Yafang Shao
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Yafang Shao @ 2026-11-26  7:28 UTC (permalink / raw)
  To: jpoimboe, mbenes, pmladek, joe.lawrence, song
  Cc: live-patching, linux-kernel, Yafang Shao

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


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

end of thread, other threads:[~2026-11-26  7:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26  7:28 [PATCH v3 0/2] livepatch: Reduce tasklist_lock contention Yafang Shao
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

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®