Linus Torvalds writes: (Summary) On Fri, Jan 5, 2018 at 6:52 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
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
<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