Re: [RFC 0/4] klp-build: simple OOT module support

Yafang Shao <[email protected]> Tue, 23 Jun 2026 16:03:38 +0800
Newsgroups org.kernel.vger.live-patching
Message-ID <CALOAHbA27RHbFMgLvFh36AntYNVyd_m4vAQYkjKJEUEhG6nEXQ@mail.gmail.com>
On Fri, Jun 19, 2026 at 8:28 PM Miroslav Benes <[email protected]> wrote:
>
> On Tue, 12 May 2026, Song Liu wrote:
>
> > Hi Joe,
> >
> > On Tue, May 12, 2026 at 3:11 PM Joe Lawrence <[email protected]> wrote:
> > >
> > > This patchset introduces support for patching basic out-of-tree (OOT)
> > > modules.  The primary motivation is to streamline testing for objtool klp
> > > diff by providing a flexible and stable environment.
> >
> > Thanks for this work!
> >
> > I would like to add to the motivation here:
> >
> > It is actually useful to livepatch OOT modules in production.
> > When using kpatch-build, we (Meta) generally do not patch OOT
> > modules. But there was one case where we had to do it, and it
> > required quite some manual work.
> >
> > If we can make building livepatch for OOT easy, we are likely to
> > use it regularly in the future.

We previously had a use case on our production servers where we
attempted to livepatch the OOT mlx driver [0], but ultimately failed
due to complex dependencies. It would be beneficial to make this
process easier.

[0]. https://network.nvidia.com/products/ethernet-drivers/linux/mlnx_en/

>
> I know I am late, sorry about that, but I also think it is a nice feature
> to have. Testing would definitely benefit.

-- 
Regards
Yafang