Re: [PATCH v7 for-next 4/8] livepatch: Deprecate stack_order
From: Josh Poimboeuf <jpoimboe@kernel.org>
Date: 2026-08-28 00:29:05
On Tue, Aug 25, 2026 at 07:46:37PM +0800, Yafang Shao wrote:
quoted hunk ↗ jump to hunk
stack_order is no longer needed for atomic-replace livepatches, as a single function can only be modified by a unique replace_set. Since this livepatch sysfs interface is mainly intended for kernel developers, backward compatibility does not need to be maintained. Signed-off-by: Yafang Shao <redacted> Cc: Wardenjohn <redacted> Acked-by: Song Liu <song@kernel.org> --- .../ABI/removed/sysfs-kernel-livepatch | 16 +++++++++++++ .../ABI/testing/sysfs-kernel-livepatch | 9 ------- kernel/livepatch/core.c | 24 ------------------- 3 files changed, 16 insertions(+), 33 deletions(-) create mode 100644 Documentation/ABI/removed/sysfs-kernel-livepatchdiff --git a/Documentation/ABI/removed/sysfs-kernel-livepatch b/Documentation/ABI/removed/sysfs-kernel-livepatch new file mode 100644 index 000000000000..fb6ff9c3b43e --- /dev/null +++ b/Documentation/ABI/removed/sysfs-kernel-livepatch@@ -0,0 +1,16 @@ +What: /sys/kernel/livepatch/<patch>/replace +Date: Jun 2024 +KernelVersion: 6.11.0 +Contact: live-patching@vger.kernel.org +Description: + An attribute which indicates whether the patch supports + atomic-replace.
This part belongs in that other patch which removed it? -- Josh