Subject: CVS commit: syssrc/sys/arch
To: None <source-changes@netbsd.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 08/11/2001 16:20:22
Module Name:	syssrc
Committed By:	chris
Date:		Sat Aug 11 13:20:21 UTC 2001

Modified Files:
	syssrc/sys/arch/arm/arm32: pmap.c
	syssrc/sys/arch/arm/include/arm32: pmap.h
	syssrc/sys/arch/arm32/include: vmparam.h
	syssrc/sys/arch/cats/include: vmparam.h
	syssrc/sys/arch/dnard/include: vmparam.h
	syssrc/sys/arch/hpcarm/include: vmparam.h
	syssrc/sys/arch/netwinder/include: vmparam.h

Log Message:
Checking a whole host of pmap changes:
Improved locking (not that we actually use it on a uniprocessor, but one day :)
Removed unneeded splvm's
tweaked pmap_clean_page code to only flush the cache if the page is mapped in the current pmap  (based on diff from richard E)
Adopted pv entry allocation mechanism from i386.
Laid framework for returning ptp's when we've finished with them rather than holding onto them till the process exits.
ptp's are now allocated with a uvm object for the pmap, means that we can walk a list to free them off in pmap_release, until they get freed off by pmap_remove.

Also implemented a page zeroing function when the processor is idling.  Note that hpcarm may wish to disable this.

I believe this code to be stable, if anyone has any problems please shout up.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 syssrc/sys/arch/arm/arm32/pmap.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/arm/include/arm32/pmap.h
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/arm32/include/vmparam.h
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/cats/include/vmparam.h
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/dnard/include/vmparam.h
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/hpcarm/include/vmparam.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/netwinder/include/vmparam.h

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