Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 11/28/1999 11:53:11
Module Name: syssrc
Committed By: thorpej
Date: Sun Nov 28 19:53:11 UTC 1999
Modified Files:
syssrc/sys/arch/alpha/alpha: pmap.c
syssrc/sys/arch/alpha/include: pmap.h
Log Message:
- Use alpha_atomic_{add,sub}_q() to update the pmap statistics. We now no
longer need to lock the kernel pmap in pmap_kenter_pa() and pmap_kremove().
- Since locking the kernel pmap in interrupt context is no longer required,
don't go to splimp() when locking the kernel pmap.
- Implement a new pmap_remove() function, not yet enabled by default. It
is structured like pmap_protect, and should be *much* faster. This was
actually written quite some time ago, but never committed because it
didn't work properly. Given the recent bugfix to pmap_protect(), "duh,
of course it didn't work properly before...". It seems to work fine now
(have done several builds and run the UVM regression tests using the new
code), but it is currently run-time optional so that some performance
measurements can be easily run against the old and new code.
To generate a diff of this commit:
cvs rdiff -r1.117 -r1.118 syssrc/sys/arch/alpha/alpha/pmap.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/arch/alpha/include/pmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.