diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2026-01-19 11:23:57 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-01-22 11:11:19 +0100 |
| commit | d6200245c75e832af2087bc60ba2e6641a90eee9 (patch) | |
| tree | feeadc6916f20663e5354428eff6403cea0a37c5 /include | |
| parent | 830969e7821af377bdc1bb016929ff28c78490e8 (diff) | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/linux/rseq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/rseq.h b/include/uapi/linux/rseq.h index 6afc219d1545..863c4a00a66b 100644 --- a/include/uapi/linux/rseq.h +++ b/include/uapi/linux/rseq.h @@ -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 { |
