summaryrefslogtreecommitdiffstats
path: root/sys/vm/pmap.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-11-09 08:19:21 +0000
committeralc <alc@FreeBSD.org>2005-11-09 08:19:21 +0000
commit8852c8f9e25ac6d124a51b1e330993a5ba1bcafa (patch)
tree62e83f535ea20fe619830cadd0ca11c77e61b37f /sys/vm/pmap.h
parentf9da852761f4d4f96009496cf662d42d998c42a6 (diff)
downloadFreeBSD-src-8852c8f9e25ac6d124a51b1e330993a5ba1bcafa.zip
FreeBSD-src-8852c8f9e25ac6d124a51b1e330993a5ba1bcafa.tar.gz
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
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 d5b64c3..2379171 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);
OpenPOWER on IntegriCloud