Subject: CVS commit: syssrc/sys/arch/arm/arm32
To: None <source-changes@netbsd.org>
From: Richard Earnshaw <rearnsha@netbsd.org>
List: source-changes
Date: 11/01/2001 17:49:17
Module Name:	syssrc
Committed By:	rearnsha
Date:		Thu Nov  1 15:49:17 UTC 2001

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

Log Message:
When clearing the modified bit for modified emulation, don't turn
caching on for a page just because we are clearing the writable bit in
the PTE: this is incompatible with the way pmap_vac_me_harder works,
and the code in the modified emulation handler doesn't know about
recalculating the cachable attributes (nor should it, IMO).

Also, if we are invalidating a page, flush its TLB entry; for some
reason we were only doing this when clearing the Write or modified
bits.

These patches together seem to solve the random seg-faults that were
still occuring occasionally under heavy paging.


To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 syssrc/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.