Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/uvm Pull up revision 1.47 (requested by chs in tick...



details:   https://anonhg.NetBSD.org/src/rev/572da46e1200
branches:  netbsd-1-6
changeset: 528028:572da46e1200
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 21 00:55:51 2002 +0000

description:
Pull up revision 1.47 (requested by chs in ticket #329):
count aobj pages (most notably kernel stack pages) as anon pages
for memory usage-balancing purposes.

diffstat:

 sys/uvm/uvm_pdaemon.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 859ebc5ed390 -r 572da46e1200 sys/uvm/uvm_pdaemon.c
--- a/sys/uvm/uvm_pdaemon.c     Fri Jun 21 00:55:41 2002 +0000
+++ b/sys/uvm/uvm_pdaemon.c     Fri Jun 21 00:55:51 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_pdaemon.c,v 1.46 2002/05/05 16:26:17 chs Exp $     */
+/*     $NetBSD: uvm_pdaemon.c,v 1.46.4.1 2002/06/21 00:55:51 lukem Exp $       */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.46 2002/05/05 16:26:17 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.46.4.1 2002/06/21 00:55:51 lukem Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -463,7 +463,7 @@
                                uvmexp.pdrefile++;
                                continue;
                        }
-                       if (anon && anonreact) {
+                       if ((anon || UVM_OBJ_IS_AOBJ(uobj)) && anonreact) {
                                uvm_pageactivate(p);
                                uvmexp.pdreanon++;
                                continue;



Home | Main Index | Thread Index | Old Index