]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: move common_tss into pcpu.
authorkib <kib@FreeBSD.org>
Sun, 10 Nov 2019 09:28:18 +0000 (09:28 +0000)
committerkib <kib@FreeBSD.org>
Sun, 10 Nov 2019 09:28:18 +0000 (09:28 +0000)
commit5fc2b3a3c0216f6f6d21837894e528b724dbcc2c
tree8176c7ddfd733b70b94d172522a0b90a3eb8da67
parent31e78c0a2892183810361b053edb0aecbde5662e
amd64: move common_tss into pcpu.

This saves some memory, around 256K I think.  It removes some code,
e.g. KPTI does not need to specially map common_tss anymore.  Also,
common_tss become domain-local.

Reviewed by: jhb
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D22231
sys/amd64/amd64/cpu_switch.S
sys/amd64/amd64/db_interface.c
sys/amd64/amd64/genassym.c
sys/amd64/amd64/machdep.c
sys/amd64/amd64/mp_machdep.c
sys/amd64/amd64/pmap.c
sys/amd64/amd64/sys_machdep.c
sys/amd64/include/pcpu.h
sys/amd64/include/tss.h