CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/03/12 23:10:40
Modified files:
sys/arch/amd64/amd64: cpu.c
Log message:
We don't save+restore FS.base and GS.base on every context switch but
rather reset GS.base and restore FS.base to what was set via __tcb_set(),
so we can't really support the wr{fs,gs}base instructions by userspace.
Enabling CR4_FSGSBASE is therefore incorrect so stop doing so.
ok jsg@ krw@
