Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH 01/18] asm-generic/barrier: add generic nospec helpers

$
0
0
Linus Torvalds writes: (Summary) wrote:

[...]

+#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

Viewing all articles
Browse latest Browse all 1267

Trending Articles