aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/pmap.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2005-11-09 08:19:21 +0000
committerAlan Cox <alc@FreeBSD.org>2005-11-09 08:19:21 +0000
commit7a35a21e7b9c0f15f1cc7498408a0fa54cae5d22 (patch)
tree62e83f535ea20fe619830cadd0ca11c77e61b37f /sys/vm/pmap.h
parentf4d85223341bbc956dc8f7e4b554891b205db4b0 (diff)
downloadsrc-7a35a21e7b9c0f15f1cc7498408a0fa54cae5d22.tar.gz
src-7a35a21e7b9c0f15f1cc7498408a0fa54cae5d22.zip
Reimplement the reclamation of PV entries. Specifically, perform
reclamation synchronously from get_pv_entry() instead of asynchronously as part of the page daemon. Additionally, limit the reclamation to inactive pages unless allocation from the PV entry zone or reclamation from the inactive queue fails. Previously, reclamation destroyed mappings to both inactive and active pages. get_pv_entry() still, however, wakes up the page daemon when reclamation occurs. The reason being that the page daemon may move some pages from the active queue to the inactive queue, making some new pages available to future reclamations. Print the "reclaiming PV entries" message at most once per minute, but don't stop printing it after the fifth time. This way, we do not give the impression that the problem has gone away. Reviewed by: tegge
Notes
Notes: svn path=/head/; revision=152224
Diffstat (limited to 'sys/vm/pmap.h')
-rw-r--r--sys/vm/pmap.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index d5b64c3fc772..2379171e47d2 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -90,8 +90,6 @@ struct thread;
*/
extern vm_offset_t kernel_vm_end;
-extern int pmap_pagedaemon_waken;
-
void pmap_change_wiring(pmap_t, vm_offset_t, boolean_t);
void pmap_clear_modify(vm_page_t m);
void pmap_clear_reference(vm_page_t m);