Subject: CVS commit: src
To: None <firstname.lastname@example.org>
From: Chuck Silvers <email@example.com>
Date: 02/24/1999 20:33:56
Module Name: src
Committed By: chs
Date: Thu Feb 25 04:33:55 UTC 1999
src/sys/uvm [chs-ubc]: uvm_pdaemon.c
treat pages being paged out as "free" when determining whether to
scan the page queues.
in uvmpd_scan_inactive(), keep initating pageouts until we'll have
4 times the number of pages clean as we want free.
(this fudge factor may need adjustment).
move adjustment of uvmexp.paging to uvm_pager_put(), which is a mistake.
I think the issue was that uvm_pager_put() might fail the pageout
and retry internally with just one page, so the pagedaemon has no way
to tell how many pages are actually being cleaned. this needs more thought.
in uvmpd_scan(), put back the business where we deactivate pages
beyond uvmexp.inactarg (there's a big comment explaining this).
rename some variables for clarity.
use TAILQ_* macros instead of poking the structs directly.