lkml.org 
[lkml]   [2018]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] asm/generic: introduce if_nospec and nospec_barrier
On Thu, 4 Jan 2018, Alan Cox wrote:

> You never go from one user process to another except via the kernel. We
> have no hardware scheduling going on. That means that if the kernel
> and/or CPU imposes the correct speculation barriers you can't attack
> anyone but yourself.

So how does this work on HT with the shared BTB? There is no context
switch (and hence no IBPB) happening between the threads sharing it.

--
Jiri Kosina
SUSE Labs

\
 
 \ /
  Last update: 2018-01-04 21:40    [W:0.087 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site