diff options
author | peter <peter@FreeBSD.org> | 2003-05-15 00:23:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-05-15 00:23:40 +0000 |
commit | 12d7e4bee670b00c658676727ee630be6fbb7af1 (patch) | |
tree | 1cae0c59e2d1157890a9bc0eb09af3e021373ef6 /sys/amd64/include/pcb.h | |
parent | 7208ad8cbbe97024b739c1267077266cf9792ad3 (diff) | |
download | FreeBSD-src-12d7e4bee670b00c658676727ee630be6fbb7af1.zip FreeBSD-src-12d7e4bee670b00c658676727ee630be6fbb7af1.tar.gz |
Collect the nastiness for preserving the kernel MSR_GSBASE around the
load_gs() calls into a single place that is less likely to go wrong.
Eliminate the per-process context switching of MSR_GSBASE, because it
should be constant for a single cpu. Instead, save/restore it during
the loading of the new %gs selector for the new process.
Approved by: re (amd64/* blanket)
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r-- | sys/amd64/include/pcb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h index 5bfb41f..83d308f 100644 --- a/sys/amd64/include/pcb.h +++ b/sys/amd64/include/pcb.h @@ -59,7 +59,6 @@ struct pcb { register_t pcb_rflags; register_t pcb_fsbase; register_t pcb_gsbase; - register_t pcb_kgsbase; u_int32_t pcb_ds; u_int32_t pcb_es; u_int32_t pcb_fs; |