Quantcast
Channel: lkml.org : Ganesh Sittampalam
Viewing all articles
Browse latest Browse all 627

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, valid ...

$
0
0
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.

Viewing all articles
Browse latest Browse all 627

Trending Articles