Subject: CVS commit: [netbsd-2-0] src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 01/07/2005 14:21:57
Module Name: src
Committed By: jdc
Date: Fri Jan 7 14:21:57 UTC 2005
Modified Files:
src/sys/arch/sparc64/sparc64 [netbsd-2-0]: pmap.c
Log Message:
Pull up revision 1.157 (requested by martin in ticket #1013).
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.156.2.1 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.