Re: [RFC PATCH 0/6] livepatch: Introduce replace set support

Petr Mladek <[email protected]>
Newsgroups org.kernel.vger.live-patching
Message-ID <[email protected]>
On Wed 2026-05-13 22:33:15, Yafang Shao wrote:
> 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/[email protected]/
> 
> In the resulting discussion, Song and Petr suggested adding a "replace set"
> to support scenarios where specific livepatches can be selectively replaced
> or skipped.
> 
> - Patch #1:
>   Adds replace set support for livepatch functions.
> 
> - Patch #2~#5:
>   Derived from Petr's original patchset:
> 
>     https://lore.kernel.org/all/[email protected]/
> 
>   All the selftests are not included in this RFC.
>   Note: Due to a significant refactor in Patch #5, I have omitted Petr's
>   Signed-off-by for that specific patch. Please let me know if this is not
>   the preferred approach.

I am not going to review these patches in this round. They are based
on an outdated RFC. I guess that they do not handle feedback against
the RFC. Also they would require massive changes in the selftests.

Note that I have already done most of the work, see
https://github.com/pmladek/linux/tree/klp-state-transfer-v1-iter12
It requires rebasing on top of last linus tree and some
clean up.

I still hope that I will be able to work on it rather sooner
than later.

> - Patch #6:
>   Adds replace set support for the shadow variable API.

Best Regards,
Petr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.