Andy-Python-Programmer / aero

Aero is a new modern, experimental, UNIX-like operating system following the monolithic kernel design. Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.
https://aero.andypy.dev
GNU General Public License v3.0
1.16k stars 48 forks source link

misc(kernel): use load fence before swapgs #119

Closed sigsegv7 closed 2 months ago

sigsegv7 commented 2 months ago

Avoid potential speculative execution issues with swapgs, such as swapgs being speculatively missed.