On Thu, Jan 04, 2018 at 13:36:30 +0000, Maxime Villard wrote:
Module Name: src
Committed By: maxv
Date: Thu Jan 4 13:36:30 UTC 2018
Modified Files:
src/sys/arch/amd64/amd64: genassym.cf locore.S machdep.c
src/sys/arch/i386/i386: genassym.cf locore.S machdep.c
src/sys/arch/x86/include: cpu.h
src/sys/arch/x86/x86: intr.c pmap.c sys_machdep.c
Log Message:
Allocate the TSS area dynamically. This way cpu_info and cpu_tss can be
put in separate pages.
Splitting tss and cpu info speeds up NetBSD under virtualbox without
VT-x quite a bit as vbox traps all TSS accesses and so all the
same-page cpu_info accesses are also trapped, slowing things down.