Skip to content
Commit c901c3e7 authored by Florian Weimer's avatar Florian Weimer
Browse files

nptl: Add public rseq symbols and <sys/rseq.h>



The relationship between the thread pointer and the rseq area
is made explicit.  The constant offset can be used by JIT compilers
to optimize rseq access (e.g., for really fast sched_getcpu).

Extensibility is provided through __rseq_size and __rseq_flags.
(In the future, the kernel could request a different rseq size
via the auxiliary vector.)

Co-Authored-By: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: default avatarSzabolcs Nagy <szabolcs.nagy@arm.com>
parent e3e58982
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment