News for hackers. Stuff that matters.
Re:Nebulet: A microkernel that runs WebAssembly in Ring 0 by andreiw on Wednesday May 30, 2018 @02:22PM (#17190168)
Depends on how you define hardware and software. There are global workarounds that amount to crippling CPU behavior, to provide guarantees for code not written to be spectre safe. I guess that’s what you mean by “hardware”. But “software” approaches are localized mitigations to code written to avoid spectre attacks - and these localized mitigations use arch specific sequences to do so.
Re:Nebulet: A microkernel that runs WebAssembly in Ring 0 by microcolonel on Wednesday May 30, 2018 @09:33PM (#17193311)
Another major problem with the software level mitigations is that they cost considerably more. Speculation fences cut performance to a small integer fraction of prior performance.
Re:Nebulet: A microkernel that runs WebAssembly in Ring 0 by andreiw on Thursday May 31, 2018 @05:07PM (#17200286)
Then tell your SiP to do better.

On Arm the conditional speculation barrier couldn’t be more lightweight (CSDB).