Linus Torvalds writes: (Summary) They'd
arguably be nice to have - but only for an insane case that makes
absolutely no sense (a different thread trying to change the value). The kernel could read the rseq
pointer one bit at a time, and do a little dance with "yield()" in
between, and take interrupts and page faults, and it wouldn't matter
AT ALL.
AT ALL.
It's not even that we read the value from an interrupt context, it's that as we return to user space (which can be the result of an interrupt) we can read the value.
interrupt) we can read the value.
This whole thread has been filled with crazy "what if" things that don't matter.
AT ALL.
It's not even that we read the value from an interrupt context, it's that as we return to user space (which can be the result of an interrupt) we can read the value.
interrupt) we can read the value.
This whole thread has been filled with crazy "what if" things that don't matter.