From: Yafang Shao <laoar.shao@gmail.com>
To: jpoimboe@kernel.org, mbenes@suse.cz, pmladek@suse.com,
joe.lawrence@redhat.com, song@kernel.org
Cc: live-patching@vger.kernel.org, Yafang Shao <laoar.shao@gmail.com>
Subject: [PATCH 0/2] livepatch: reject internal flags set by a patch
Date: Mon, 16 Nov 2026 21:04:00 +0800 [thread overview]
Message-ID: <20261116130402.76743-1-laoar.shao@gmail.com> (raw)
While upgrading an atomic-replace livepatch, an application in a k8s
environment reported high latency spikes. While writing a reproducer
for it on a test server, I unintentionally set the .nop flag for a
function in the patch, which triggered the issue described in #1. I then
checked for other similar issues and found the one in #2.
These small fixes can be sent independently of the latency spike I am
trying to resolve.
Yafang Shao (2):
livepatch: reject nop flag set by a patch
livepatch: reject dynamic flag set by a patch
include/linux/livepatch.h | 2 ++
kernel/livepatch/core.c | 12 ++++++++++++
2 files changed, 14 insertions(+)
--
2.52.0
next reply other threads:[~2026-11-16 13:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 13:04 Yafang Shao [this message]
2026-11-16 13:04 ` [PATCH 1/2] livepatch: reject nop flag set by a patch Yafang Shao
2026-11-16 13:13 ` sashiko-bot
2026-11-16 13:04 ` [PATCH 2/2] livepatch: reject dynamic " Yafang Shao
2026-11-16 13:18 ` [PATCH 0/2] livepatch: reject internal flags " Miroslav Benes
2026-11-16 13:37 ` Yafang Shao
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=20261116130402.76743-1-laoar.shao@gmail.com \
--to=laoar.shao@gmail.com \
--cc=joe.lawrence@redhat.com \
--cc=jpoimboe@kernel.org \
--cc=live-patching@vger.kernel.org \
--cc=mbenes@suse.cz \
--cc=pmladek@suse.com \
--cc=song@kernel.org \
/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