Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch

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: locore.S machdep.c
> 	src/sys/arch/i386/i386: 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.

I wonder if this will also help e.g. netbsd under qemu and so anita


Home | Main Index | Thread Index | Old Index