summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
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/powerpc
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/powerpc')
-rw-r--r--sys/powerpc/powerpc/pmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/powerpc/pmap.c b/sys/powerpc/powerpc/pmap.c
index 45319f0..91b645a 100644
--- a/sys/powerpc/powerpc/pmap.c
+++ b/sys/powerpc/powerpc/pmap.c
@@ -197,8 +197,6 @@ int pmap_bootstrapped = 0;
struct msgbuf *msgbufp;
vm_offset_t msgbuf_phys;
-int pmap_pagedaemon_waken;
-
/*
* Map of physical memory regions.
*/
OpenPOWER on IntegriCloud