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

Joe Lawrence <[email protected]> Thu, 25 Jun 2026 09:38:25 -0400
Newsgroups org.kernel.vger.live-patching
Message-ID <[email protected]>
On 5/12/26 7:30 PM, 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.
> 
Hi Song -- for your production OOT module use case(s), do you have a
skeleton example module that I could use to test?  (For this RFC, I had
only verified it worked against the very basic OOT module structure I
was using to generate klp-build unit tests.)

Regards,

-- 
Joe