Skip to content

livepatch: reject internal flags set by a patch

Yafang Shao live-patching 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2livepatch: reject nop flag set by a patchinclude/linux/livepatch.h kernel/livepatch/core.c+6 -00 replies
2/2livepatch: reject dynamic flag set by a patchinclude/linux/livepatch.h kernel/livepatch/core.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] livepatch: reject internal flags set by a patch

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(+)
Signature · 1 line
2.52.0