diff options
author | dyson <dyson@FreeBSD.org> | 1996-06-17 03:35:40 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1996-06-17 03:35:40 +0000 |
commit | 5cd11c9038b5115e97e2e655cd920bcea58b0f99 (patch) | |
tree | 8fc6a057fe853dbb744df6b99c93762955bf2c22 /sys/vm/pmap.h | |
parent | 0839ad4b61f9bff959b4034f24697cdf728e8158 (diff) | |
download | FreeBSD-src-5cd11c9038b5115e97e2e655cd920bcea58b0f99.zip FreeBSD-src-5cd11c9038b5115e97e2e655cd920bcea58b0f99.tar.gz |
Several bugfixes/improvements:
1) Make it much less likely to miss a wakeup in vm_page_free_wakeup
2) Create a new entry point into pmap: pmap_ts_referenced, eliminates
the need to scan the pv lists twice in many cases. Perhaps there
is alot more to do here to work on minimizing pv list manipulation
3) Minor improvements to vm_pageout including the use of pmap_ts_ref.
4) Major changes and code improvement to pmap. This code has had
several serious bugs in page table page manipulation. In order
to simplify the problem, and hopefully solve it for once and all,
page table pages are no longer "managed" with the pv list stuff.
Page table pages are only (mapped and held/wired) or
(free and unused) now. Page table pages are never inactive,
active or cached. These changes have probably fixed the
hold count problems, but if they haven't, then the code is
simpler anyway for future bugfixing.
5) The pmap code has been sorely in need of re-organization, and I
have taken a first (of probably many) steps. Please tell me
if you have any ideas.
Diffstat (limited to 'sys/vm/pmap.h')
-rw-r--r-- | sys/vm/pmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h index 78c59a5..e123b90 100644 --- a/sys/vm/pmap.h +++ b/sys/vm/pmap.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: pmap.h,v 1.9 1996/03/28 04:54:50 dyson Exp $ + * $Id: pmap.h,v 1.10 1996/05/19 07:36:44 dyson Exp $ */ /* @@ -101,6 +101,7 @@ void pmap_growkernel __P((vm_offset_t)); void pmap_init __P((vm_offset_t, vm_offset_t)); boolean_t pmap_is_modified __P((vm_offset_t pa)); boolean_t pmap_is_referenced __P((vm_offset_t pa)); +boolean_t pmap_ts_referenced __P((vm_offset_t pa)); void pmap_kenter __P((vm_offset_t, vm_offset_t)); void pmap_kremove __P((vm_offset_t)); vm_offset_t pmap_map __P((vm_offset_t, vm_offset_t, vm_offset_t, int)); |