mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Last minute rseq fixes for 7.0
@ 2026-02-20 20:06 Mathieu Desnoyers
  2026-02-20 20:06 ` [PATCH v3 1/2] rseq: Clarify rseq registration rseq_size bound check comment Mathieu Desnoyers
  2026-02-20 20:06 ` [PATCH v3 2/2] rseq: slice ext: Ensure rseq feature size differs from original rseq size Mathieu Desnoyers
  0 siblings, 2 replies; 5+ messages in thread
From: Mathieu Desnoyers @ 2026-02-20 20:06 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: linux-kernel, Mathieu Desnoyers, Ingo Molnar, Thomas Gleixner,
	Carlos O'Donell, Florian Weimer, Michael Jeanson

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.

Updates since v2:

- Update comment above struct rseq in the uapi header.

Thanks,

Mathieu

CC: Peter Zijlstra (Intel) <peterz@infradead.org>
CC: Ingo Molnar <mingo@kernel.org>
CC: Thomas Gleixner <tglx@kernel.org>
CC: Carlos O'Donell <carlos@redhat.com>
CC: Florian Weimer <fweimer@redhat.com>
CC: Michael Jeanson <mjeanson@efficios.com>

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

 fs/binfmt_elf.c           |  3 ++-
 include/linux/rseq.h      | 12 ++++++++++++
 include/uapi/linux/rseq.h | 26 ++++++++++++++++++++++----
 kernel/rseq.c             |  8 +++++---
 4 files changed, 41 insertions(+), 8 deletions(-)

-- 
2.39.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-23 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-20 20:06 [PATCH v3 0/2] Last minute rseq fixes for 7.0 Mathieu Desnoyers
2026-02-20 20:06 ` [PATCH v3 1/2] rseq: Clarify rseq registration rseq_size bound check comment Mathieu Desnoyers
2026-02-23 10:25   ` [tip: sched/urgent] " tip-bot2 for Mathieu Desnoyers
2026-02-20 20:06 ` [PATCH v3 2/2] rseq: slice ext: Ensure rseq feature size differs from original rseq size Mathieu Desnoyers
2026-02-23 10:25   ` [tip: sched/urgent] " tip-bot2 for Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®