From 8852c8f9e25ac6d124a51b1e330993a5ba1bcafa Mon Sep 17 00:00:00 2001 From: alc Date: Wed, 9 Nov 2005 08:19:21 +0000 Subject: 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 --- sys/powerpc/powerpc/pmap.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/powerpc') 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. */ -- cgit v1.1