Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm continue processing the inactive queue past the free...
details: https://anonhg.NetBSD.org/src/rev/eacd3b5cf935
branches: trunk
changeset: 500543:eacd3b5cf935
user: chs <chs%NetBSD.org@localhost>
date: Wed Dec 13 17:03:32 2000 +0000
description:
continue processing the inactive queue past the free target when
we're enforcing the limit on the number of vnode pages.
diffstat:
sys/uvm/uvm_pdaemon.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 418608a5cbb0 -r eacd3b5cf935 sys/uvm/uvm_pdaemon.c
--- a/sys/uvm/uvm_pdaemon.c Wed Dec 13 15:32:31 2000 +0000
+++ b/sys/uvm/uvm_pdaemon.c Wed Dec 13 17:03:32 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pdaemon.c,v 1.25 2000/11/30 11:04:44 simonb Exp $ */
+/* $NetBSD: uvm_pdaemon.c,v 1.26 2000/12/13 17:03:32 chs Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -425,7 +425,7 @@
uvmexp.wired + uvmexp.free) * 13 / 16;
if (free + uvmexp.paging >= uvmexp.freetarg << 2 ||
- dirtyreacts == UVMPD_NUMDIRTYREACTS) {
+ vpgs > 0 || dirtyreacts == UVMPD_NUMDIRTYREACTS) {
if (vpgs <= 0) {
UVMHIST_LOG(pdhist," met free target: "
"exit loop", 0, 0, 0, 0);
@@ -563,7 +563,8 @@
* free target when all the current pageouts complete.
*/
- if (free + uvmexp.paging > uvmexp.freetarg << 2) {
+ if (free + uvmexp.paging > uvmexp.freetarg << 2 &&
+ !vnode_only) {
if (anon) {
simple_unlock(&anon->an_lock);
} else {
Home |
Main Index |
Thread Index |
Old Index