* [Discussion] Live Patch Loading Tools after kpatch-era
[not found] ` <FR2P281MB1511F160B0BC503BC5ED7C3BBE4A2@FR2P281MB1511.DEUP281.PROD.OUTLOOK.COM>
@ 2026-12-04 11:29 ` Kochmarla, Gyokhan
2026-12-04 15:05 ` Seke Kazuru
0 siblings, 1 reply; 2+ messages in thread
From: Kochmarla, Gyokhan @ 2026-12-04 11:29 UTC (permalink / raw)
To: live-patching@vger.kernel.org; +Cc: Liebold, Simon, Achkasov, Egor
Hello all,
With the kpatch being in maintenance mode and klp-build is about only producing the build, is the kpatch load/install utility also got deprecated? If so, what's the recommended way to load livepatches, handle stalled transitions and/or persist the module load behavior across reboots? I see that many distros use kpatch still to load (some use insmod, but doesn't help with many cases, or write their wrappers around insmod like Ubuntu); but could not find any suggestion to unify loading part.
Thanks,
Regards
Gyokhan Kochmarla
Amazon Web Services
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Discussion] Live Patch Loading Tools after kpatch-era
2026-12-04 11:29 ` [Discussion] Live Patch Loading Tools after kpatch-era Kochmarla, Gyokhan
@ 2026-12-04 15:05 ` Seke Kazuru
0 siblings, 0 replies; 2+ messages in thread
From: Seke Kazuru @ 2026-12-04 15:05 UTC (permalink / raw)
To: gyokhan; +Cc: live-patching, simonlie, eachkas
On Fri, Dec 04, 2026 at 11:29:59AM +0000, Gyokhan Kochmarla wrote:
> If so, what's the recommended way to load livepatches, handle stalled
> transitions and/or persist the module load behavior across reboots?
Hi Gyokhan,
On stalled transitions, the kernel retries the transition about once a
second and signals the remaining tasks after every 15 failed attempts.
When that does not help, the next step is to find which tasks hold it
up and where they sleep. The kernel prints that only with dynamic debug
on for kernel/livepatch/transition.c.
I work on klp-watch, a read-only tool that does this part:
https://github.com/kazuru-chidumbwe/klp-watch
It reports whether a transition finished and, when one stalls, which
tasks block it and where they sleep. It reads sysfs, the patch_state
files and the task stacks, with an optional eBPF agent for the steps
sysfs does not show. It never loads, forces or reverses a patch, so it
can sit next to whichever loader ends up recommended.
Thank you,
Seke Kazuru
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-04 15:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <FR2P281MB1511A43A76F1C7766EAFB15FBE4A2@FR2P281MB1511.DEUP281.PROD.OUTLOOK.COM>
[not found] ` <FR2P281MB1511F160B0BC503BC5ED7C3BBE4A2@FR2P281MB1511.DEUP281.PROD.OUTLOOK.COM>
2026-12-04 11:29 ` [Discussion] Live Patch Loading Tools after kpatch-era Kochmarla, Gyokhan
2026-12-04 15:05 ` Seke Kazuru
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox