Subject: CVS commit: src/sys/arch/sparc64
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 03/30/2007 21:14:13
Module Name:	src
Committed By:	martin
Date:		Fri Mar 30 21:14:13 UTC 2007

Modified Files:
	src/sys/arch/sparc64/include: ctlreg.h
	src/sys/arch/sparc64/sparc64: pmap.c

Log Message:
When invalidating a context, make sure to flush user windows upfront.
Do not set the DMMU secondary context to 0 (that would be kernel), and
add a few required membars after switching the secondary dmmu context.

This avoids SIRs caused by double kernel_data_faults, caused by spills
of obsolete user windows after the context for that user pmap is gone.


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 src/sys/arch/sparc64/include/ctlreg.h
cvs rdiff -r1.187 -r1.188 src/sys/arch/sparc64/sparc64/pmap.c

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