lkml.org 
[lkml]   [2018]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 20/24] x86/speculation: Split out TIF update
On Tue, 27 Nov 2018, Thomas Gleixner wrote:

> That's racy and does not prevent the situation because the TIF flags are
> updated befor the UPDATE bit is set.

> So __speculation_ctrl_update() might see the new bits, but not
> TIF_SPEC_UPDATE.

Hm, right, scratch that. We'd need to do that before updating TIF_SPEC_IB
in task_update_spec_tif(), but that has the opposite ordering issue.

Thanks,

--
Jiri Kosina
SUSE Labs

\
 
 \ /
  Last update: 2018-11-27 08:30    [W:0.110 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site