Re:Nebulet: A microkernel that runs WebAssembly in Ring 0
by modeless on Wednesday May 30, 2018 @07:09PM
(#17192684)
I'm talking about a hardware mitigation that would allow software isolation to work again, without disabling speculation.
Re:Nebulet: A microkernel that runs WebAssembly in Ring 0
by ori_b on Wednesday May 30, 2018 @08:25PM
(#17193036)
I understand that. You cannot make this work, because in the case of pure software isolation, any instruction can theoretically be used to snoop on any other instruction. That means speculation can theoretically be detectable if it speeds up anything.
The problem is that with pure software isolation, as being discussed here, every access is observable within the "same program", so every speedup would need to be rolled back.
With hardware boundaries, you know which speculations to roll back (or just avoid doing), so you can put a fix in silicon.