Thread (21 messages) flat view 21 messages, 5 authors, 17h ago

Re: [PATCH v9 0/9] livepatch: Add support for scoped atomic replace

From: Song Liu <song@kernel.org>
Date: 2026-09-24 20:56:46

Hi folks,

Do we have pending comments/changes for this set? If not, can we land this
soon, so that it can go upstream in the upcoming merge window?

Thanks,
Song

On Sat, Sep 12, 2026 at 7:43 PM Yafang Shao [off-list ref] wrote:
Atomic replacement is currently all-or-nothing: a livepatch with
"replace" set either atomically replaces all previously installed
livepatches, or - with "replace" disabled - it replaces none. There
is no way to atomically replace only a selected set of livepatches
while keeping the rest running untouched.

We previously proposed a BPF+livepatch method to enable rapid
experimentation with new kernel features without interrupting production
workloads:

  https://lore.kernel.org/live-patching/20260402092607.96430-1-laoar.shao@gmail.com/ (local)

In the resulting discussion, Song and Petr suggested that it should be
possible to selectively replace or skip individual livepatches.

This patchset introduces a more flexible model using two new fields in
struct klp_patch:
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help