summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-03-25 08:42:14 +0000
committerdg <dg@FreeBSD.org>1995-03-25 08:42:14 +0000
commit0785cceb5c3227dd6fb02c881471774168feaba6 (patch)
tree249f15a9556433d31fadfc90fe855e543fc8a145 /sys/vm
parent37bcaa81f154ae7dd50bad8124919827f583226b (diff)
downloadFreeBSD-src-0785cceb5c3227dd6fb02c881471774168feaba6.zip
FreeBSD-src-0785cceb5c3227dd6fb02c881471774168feaba6.tar.gz
Removed (almost) meaningless "object cache lookups/hits" statistic. In
our framework, these numbers will usually be nearly the same, and not because of any sort of high 'hit rate'.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_object.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 9ce5bf5..1cd068e 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_object.c,v 1.38 1995/03/23 05:19:44 davidg Exp $
+ * $Id: vm_object.c,v 1.39 1995/03/25 06:09:33 davidg Exp $
*/
/*
@@ -927,7 +927,6 @@ vm_object_lookup(pager)
register vm_object_hash_entry_t entry;
vm_object_t object;
- cnt.v_lookups++;
vm_object_cache_lock();
for (entry = vm_object_hashtable[vm_object_hash(pager)].tqh_first;
@@ -944,7 +943,6 @@ vm_object_lookup(pager)
object->ref_count++;
vm_object_unlock(object);
vm_object_cache_unlock();
- cnt.v_hits++;
return (object);
}
}
OpenPOWER on IntegriCloud