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

Re: [PATCH 06/18] x86, barrier: stop speculation for failed access_ok

$
0
0
Linus Torvalds writes: (Summary) On Fri, Jan 5, 2018 at 6:52 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:

[...]

access that needs to be non-speculative.
I also suspect we should probably do this entirely differently. Maybe the whole lfence can be part of uaccess_begin() instead (ie currently 'stac()'). And it would avoid any confusion about the whole "when to stop speculation".
speculation".
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 1267

Trending Articles