Thread (7 messages) 7 messages, 3 authors, 2022-01-08

RE: [RFC PATCH] rseq: x86: implement abort-at-ip extension

flat view

From: David Laight <hidden>
Date: 2022-01-07 22:27:22
Also in: lkml

That being said, there might be an architecture agnostic alternative available.
On abort of a RSEQ_CS_FLAG_ABORT_AT_IP critical section, we could let the kernel
decrement/increment the stack pointer to make room for a pointer (depending if the
stack grows down or up). It would then store the abort-at-ip value at the top of
stack.
Stack redzone in a leaf function?

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help