]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rseq: Add fields and constants for time slice extension
authorThomas Gleixner <tglx@linutronix.de>
Mon, 15 Dec 2025 16:52:04 +0000 (17:52 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 22 Jan 2026 10:11:16 +0000 (11:11 +0100)
commitd7a5da7a0f7fa7ff081140c4f6f971db98882703
tree5470dbdccb47bf19beda69bdcfd8d078d87f17c0
parent4fe82cf3024a4bdd2571d584efc25598533d5c96
rseq: Add fields and constants for time slice extension

Aside of a Kconfig knob add the following items:

   - Two flag bits for the rseq user space ABI, which allow user space to
     query the availability and enablement without a syscall.

   - A new member to the user space ABI struct rseq, which is going to be
     used to communicate request and grant between kernel and user space.

   - A rseq state struct to hold the kernel state of this

   - Documentation of the new mechanism

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251215155708.669472597@linutronix.de
Documentation/userspace-api/index.rst
Documentation/userspace-api/rseq.rst [new file with mode: 0644]
include/linux/rseq_types.h
include/uapi/linux/rseq.h
init/Kconfig
kernel/rseq.c