Live Patching
 help / color / mirror / Atom feed
From: Seke Kazuru <kazuruuni@gmail.com>
To: gyokhan@amazon.de
Cc: live-patching@vger.kernel.org, simonlie@amazon.de, eachkas@amazon.de
Subject: Re: [Discussion] Live Patch Loading Tools after kpatch-era
Date: Fri,  4 Dec 2026 17:05:21 +0200	[thread overview]
Message-ID: <20261204150521.1107-1-kazuruuni@gmail.com> (raw)
In-Reply-To: <FR2P281MB15112A4E297475DACACD624EBE4A2@FR2P281MB1511.DEUP281.PROD.OUTLOOK.COM>

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

      reply	other threads:[~2026-12-04 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261204150521.1107-1-kazuruuni@gmail.com \
    --to=kazuruuni@gmail.com \
    --cc=eachkas@amazon.de \
    --cc=gyokhan@amazon.de \
    --cc=live-patching@vger.kernel.org \
    --cc=simonlie@amazon.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox