Meltdown/Spectre mitigation for 4.15 and beyond
Meltdown/Spectre mitigation for 4.15 and beyond
Posted Jan 16, 2018 20:23 UTC (Tue) by mjthayer (guest, #39183)In reply to: Meltdown/Spectre mitigation for 4.15 and beyond by andresfreund
Parent article: Meltdown/Spectre mitigation for 4.15 and beyond
Regarding the fix for Meltdown, I was wondering whether emptying the TLB on context switches and rewriting the page tables in memory so that the kernel parts were not accessible to user processes would also have worked. Seems potentially slightly less invasive than the duplicate page table thing, assuming the page table structure makes it doable.
Posted Jan 17, 2018 7:12 UTC (Wed)
by mjthayer (guest, #39183)
[Link]
Meltdown/Spectre mitigation for 4.15 and beyond
Though it would probably break PCIDs on systems which have them. And on second thought, I don't see much benefit over the duplicate page tables.