mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 02:21:39 -04:00
rseq: Allow registering RSEQ with slice extension
Since glibc cares about the number of syscalls required to initialize a new thread, allow initializing rseq with slice extension on. This avoids having to do another prctl(). Requested-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260121143207.814193010@infradead.org
This commit is contained in:
@@ -19,7 +19,8 @@ enum rseq_cpu_id_state {
|
||||
};
|
||||
|
||||
enum rseq_flags {
|
||||
RSEQ_FLAG_UNREGISTER = (1 << 0),
|
||||
RSEQ_FLAG_UNREGISTER = (1 << 0),
|
||||
RSEQ_FLAG_SLICE_EXT_DEFAULT_ON = (1 << 1),
|
||||
};
|
||||
|
||||
enum rseq_cs_flags_bit {
|
||||
|
||||
Reference in New Issue
Block a user