Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm uvm_reclaimable: add an XXX comment.
details: https://anonhg.NetBSD.org/src/rev/2364313532ed
branches: trunk
changeset: 580704:2364313532ed
user: yamt <yamt%NetBSD.org@localhost>
date: Wed May 04 23:23:28 2005 +0000
description:
uvm_reclaimable: add an XXX comment.
diffstat:
sys/uvm/uvm_pdaemon.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 892c7affcc2f -r 2364313532ed sys/uvm/uvm_pdaemon.c
--- a/sys/uvm/uvm_pdaemon.c Wed May 04 23:22:44 2005 +0000
+++ b/sys/uvm/uvm_pdaemon.c Wed May 04 23:23:28 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pdaemon.c,v 1.62 2005/04/12 13:11:45 yamt Exp $ */
+/* $NetBSD: uvm_pdaemon.c,v 1.63 2005/05/04 23:23:28 yamt 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.62 2005/04/12 13:11:45 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.63 2005/05/04 23:23:28 yamt Exp $");
#include "opt_uvmhist.h"
@@ -942,6 +942,9 @@
* if we have more than 1/16 of pageable memory or 5MB, try to reclaim.
*
* XXX assume the worst case, ie. all wired pages are file-backed.
+ *
+ * XXX should consider about other reclaimable memory.
+ * XXX ie. pools, traditional buffer cache.
*/
filepages = uvmexp.filepages + uvmexp.execpages - uvmexp.wired;
Home |
Main Index |
Thread Index |
Old Index