Subject: CVS commit: src/sys/arch/arm/arm32
To: None <source-changes@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 04/26/2005 16:03:08
Module Name:	src
Committed By:	scw
Date:		Tue Apr 26 16:03:08 UTC 2005

Modified Files:
	src/sys/arch/arm/arm32: pmap.c

Log Message:
Since pmap_page_remove() is called from pmap_page_protect(), don't modify
the current pmap's pm_cstate if we have to flush the TLB, as callers of
pmap_page_protect() are not required to invoke pmap_update() afterwards.

Otherwise we can end up with a pm_cstate which is inconsistent with reality
in the TLB, which can lead to future TLB flushes being erroneously skipped.


To generate a diff of this commit:
cvs rdiff -r1.151 -r1.152 src/sys/arch/arm/arm32/pmap.c

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