aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-03-25 08:42:14 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-03-25 08:42:14 +0000
commit260295f9793b0b0c97203585729a844c687502d2 (patch)
tree249f15a9556433d31fadfc90fe855e543fc8a145 /sys/vm/vm_object.c
parente169c6670be7346ccaec05678793262cb008d10b (diff)
downloadsrc-260295f9793b0b0c97203585729a844c687502d2.tar.gz
src-260295f9793b0b0c97203585729a844c687502d2.zip
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'.
Notes
Notes: svn path=/head/; revision=7350
Diffstat (limited to 'sys/vm/vm_object.c')
-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 9ce5bf5ca817..1cd068ee606d 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);
}
}