aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <[email protected]>2022-01-24 12:12:52 -0500
committerPeter Zijlstra <[email protected]>2022-02-02 13:11:37 +0100
commit4e15bb766b6c6e963a4d33629034d0ec3b7637df (patch)
treea71b12a20246457f3c9cc717ed50c19826010eb3 /lib/test-string_helpers.c
parentb53823fb2ef854222853be164f3b1e815f315144 (diff)
selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
Rather than use rseq_get_abi() and pass its result through a register to the inline assembler, directly access the per-thread rseq area through a memory reference combining the %fs segment selector, the constant offset of the field in struct rseq, and the rseq_offset value (in a register). Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions