Linus Torvalds writes: (Summary) wrote:
Do we actually want this horrible interface?
It just causes the compiler - or inline asm - to generate worse code, because it needs to compare against both high and low limits. That really seems excessively stupid.
excessively stupid.
Linus
Linus
Linus
[...]
+#define nospec_ptr(ptr, lo, hi) \ Do we actually want this horrible interface?Do we actually want this horrible interface?
It just causes the compiler - or inline asm - to generate worse code, because it needs to compare against both high and low limits. That really seems excessively stupid.
excessively stupid.
Linus
Linus
Linus