Subject: CVS commit: src/sys/arch/i386
To: None <>
From: YAMAMOTO Takashi <>
List: source-changes
Date: 02/20/2004 17:35:01
Module Name:	src
Committed By:	yamt
Date:		Fri Feb 20 17:35:01 UTC 2004

Modified Files:
	src/sys/arch/i386/i386: cpu.c locore.S mach_sigcode.S
	    pmap.c spl.S svr4_sigcode.S trap.c vector.S
	src/sys/arch/i386/include: cpu.h frameasm.h pcb.h pmap.h

Log Message:
defer pmap switching until it's really needed
to avoid frequent loading of cr3 register, which involves tlb flush.

with some fixes/improvements from Stephan Uphoff and Bang Jun-Young.

To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/sys/arch/i386/i386/cpu.c
cvs rdiff -r1.39 -r1.40 src/sys/arch/i386/i386/
cvs rdiff -r1.23 -r1.24 src/sys/arch/i386/i386/locore.S
cvs rdiff -r1.5 -r1.6 src/sys/arch/i386/i386/mach_sigcode.S
cvs rdiff -r1.170 -r1.171 src/sys/arch/i386/i386/pmap.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/i386/i386/spl.S
cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/i386/svr4_sigcode.S
cvs rdiff -r1.195 -r1.196 src/sys/arch/i386/i386/trap.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/i386/i386/vector.S
cvs rdiff -r1.112 -r1.113 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.3 -r1.4 src/sys/arch/i386/include/frameasm.h
cvs rdiff -r1.36 -r1.37 src/sys/arch/i386/include/pcb.h
cvs rdiff -r1.78 -r1.79 src/sys/arch/i386/include/pmap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.