Thread (25 messages) 25 messages, 5 authors, 19h ago

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

From: Petr Mladek <pmladek@suse.com>
Date: 2026-09-25 07:49:36

On Thu 2026-09-24 13:56:32, Song Liu wrote:
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?
I still have to review this last version. It is getting on top
of my TODO list but...

Anyway, my main concern is breaking the backward compatibility.
I assumed that we would discuss this during the micro conference
at Plumbers first.

Best Regards,
Petr
Thanks,
Song

On Sat, Sep 12, 2026 at 7:43 PM Yafang Shao [off-list ref] wrote:
quoted
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