Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Make sure page allocations are counted everywhere t...
details: https://anonhg.NetBSD.org/src/rev/a0ce2d051af9
branches: trunk
changeset: 472869:a0ce2d051af9
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon May 10 21:15:42 1999 +0000
description:
Make sure page allocations are counted everywhere that they need to be.
diffstat:
sys/kern/subr_pool.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 4d05f2891fad -r a0ce2d051af9 sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c Mon May 10 21:13:05 1999 +0000
+++ b/sys/kern/subr_pool.c Mon May 10 21:15:42 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_pool.c,v 1.25 1999/05/10 21:13:05 thorpej Exp $ */
+/* $NetBSD: subr_pool.c,v 1.26 1999/05/10 21:15:42 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
@@ -966,6 +966,7 @@
return (ENOMEM);
}
+ pp->pr_npagealloc++;
pool_prime_page(pp, cp);
pp->pr_minpages++;
}
@@ -1100,6 +1101,7 @@
error = ENOMEM;
break;
}
+ pp->pr_npagealloc++;
pool_prime_page(pp, cp);
}
Home |
Main Index |
Thread Index |
Old Index