Subject: CVS commit: src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 12/01/2004 08:05:26
Module Name:	src
Committed By:	chs
Date:		Wed Dec  1 08:05:26 UTC 2004

Modified Files:
	src/sys/arch/sparc64/sparc64: pmap.c

Log Message:
do the invalidation of the (virtually-addressed) L1 cache in pmap_remove_all()
(ie. just before we skip the per-page cache invalidations while tearing down
each context) instead of just before we recycle all the contexts in ctx_alloc().
the latter is not good enough since a (physically tagged) L1 cache line is
valid for all contexts, not just the one that was used to instantiate it.
fixes PRs 24126, 25669 and 27730.


To generate a diff of this commit:
cvs rdiff -r1.156 -r1.157 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.