Re:Spectre mitigations murder userspace performance
by amelius on Saturday June 19, 2021 @05:25PM
(#27564591)
Isn't the entire memory hierarchy (caches) part of the problem?
Re:Spectre mitigations murder userspace performance
by rbanffy on Saturday June 19, 2021 @07:04PM
(#27565345)
Yes. You’d need to split caches by security context too.
Re:Spectre mitigations murder userspace performance
by lanstin on Sunday June 20, 2021 @01:28AM
(#27567370)
Maybe each security context needs to be in its own cloud account and own network. Long ago it was an axiom that if you share a call stack in a process you trust each other. Perhaps the current truth is if you share hardware you trust each other.
I’ve been thinking what would happen if cores would be pinned to separate security domains - all kernel processes run on one set of cores and user processes on others. I imagine microkernel OSs could go that way much easier. If kernel and user space communicate only by messages and shared data, there’s no reason they’d need to even share an ISA.