[PATCH v1 0/2] Last minute rseq fixes for 7.0

From: Mathieu Desnoyers

Date: Wed Feb 18 2026 - 11:52:46 EST


Hi,

Here are two last minute rseq fixes aiming at 7.0.

The first is a clarification of a rseq registration comment to match the
rseq_size range checks.

The second ensures that the new scheduler slice extension field don't
end up exposing a rseq feature size equal to the original rseq size,
which would make life harder than it needs to be for userspace.

Thanks,

Mathieu

CC: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
CC: Ingo Molnar <mingo@xxxxxxxxxx>
CC: Thomas Gleixner <tglx@xxxxxxxxxx>
CC: Carlos O'Donell <carlos@xxxxxxxxxx>
CC: Florian Weimer <fweimer@xxxxxxxxxx>
CC: Michael Jeanson <mjeanson@xxxxxxxxxxxx>

Mathieu Desnoyers (2):
rseq: Clarify rseq registration rseq_size bound check comment
rseq: slice ext: Ensure rseq feature size differs from original rseq
size

include/uapi/linux/rseq.h | 13 ++++++++++++-
kernel/rseq.c | 5 +++--
2 files changed, 15 insertions(+), 3 deletions(-)

--
2.39.5