aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2022-01-24 12:12:53 -0500
committerPeter Zijlstra <peterz@infradead.org>2022-02-02 13:11:37 +0100
commit127b6429d235ab7c358223bbfd8a8b8d8cc799b6 (patch)
tree7984ca5278dfff558e46e5cd3478dc44418d7918 /kernel/sysctl.c
parentselftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area (diff)
downloadlinux-dev-127b6429d235ab7c358223bbfd8a8b8d8cc799b6.tar.xz
linux-dev-127b6429d235ab7c358223bbfd8a8b8d8cc799b6.zip
selftests/rseq: x86-32: use %gs 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 %gs segment selector, the constant offset of the field in struct rseq, and the rseq_offset value (in a register). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20220124171253.22072-16-mathieu.desnoyers@efficios.com
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions