Subject: CVS commit: syssrc/sys/arch/arm/arm32
To: None <source-changes@netbsd.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 06/25/2001 02:21:05
Module Name:	syssrc
Committed By:	chris
Date:		Sun Jun 24 23:21:05 UTC 2001

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

Log Message:
Add a pmap_map_ptes function to map another process page table entries into the current pmap (similair to pmap_pte) but this allows multiple use of it, rather than repeated calls of pmap_pte for pte, map_ptes returns a pointer to the va where the entries were mapped so it can be reused ptes can be found by indexing into it.

Update some of the functions that use pmap_pte to pmap_map_ptes.

Note that there's a dummy macro for pmap_unmap_ptes, this is because at some point locking will be needed, so we need to be able to unlock them.

Performance gain seems to be minimal, however long term it should help improve things.

This is similair to the i386 pmap_map_ptes, however it's based on a version from Richard Earnshaw.


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