Re:LLVM patch to fix half of Spectre attack
by foota on Thursday January 04, 2018 @04:16PM
(#16074170)
Why can't the processor isolate those cache lines during speculative execution?
Re:LLVM patch to fix half of Spectre attack
by zacmps on Friday January 05, 2018 @12:09AM
(#16076704)
And roll them back? It can, but it doesn't for performance reasons. What the performance impact would be is unknown but this requires a silicon change so unless you work at Intel you'll probably never know.
Speculative execution does not create side-channels in and of itself, side effects of speculative execution does that. In this case the side effect of cache state. Just don't change the cache during speculative execution and there's no problem.