summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-05-28 23:46:29 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-05-28 23:46:29 +0000
commit03333d123984f070d285dad8986b92e7aa59a76d (patch)
tree700e17ceb4b4d6ac5b2709bf8925cc8b06449333 /sys
parent7cb8eb477497200384c31e46774480dee2352b3c (diff)
some remnants of the timestamping code i missed
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_pool.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index ab7b9d8e536..536542a7ebb 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.53 2007/05/28 19:18:45 tedu Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.54 2007/05/28 23:46:28 tedu Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -78,9 +78,6 @@ TAILQ_HEAD(,pool) pool_head = TAILQ_HEAD_INITIALIZER(pool_head);
/* Private pool for page header structures */
static struct pool phpool;
-/* # of seconds to retain page after last use */
-int pool_inactive_time = 10;
-
/* This spin lock protects both pool_head */
struct simplelock pool_head_slock;
@@ -1248,7 +1245,6 @@ pool_reclaim(struct pool *pp)
{
struct pool_item_header *ph, *phnext;
struct pool_cache *pc;
- struct timeval curtime;
struct pool_pagelist pq;
int s;
@@ -1264,8 +1260,6 @@ pool_reclaim(struct pool *pp)
TAILQ_FOREACH(pc, &pp->pr_cachelist, pc_poollist)
pool_cache_reclaim(pc);
- microuptime(&curtime);
-
for (ph = LIST_FIRST(&pp->pr_emptypages); ph != NULL; ph = phnext) {
phnext = LIST_NEXT(ph, ph_pagelist);