summaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-10-15 10:28:47 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-10-15 10:28:47 +0000
commita08a17a3ce1722e9069ef5e490865ebe0f7d1a8c (patch)
tree3bdb79809aec3515f8e2b9151fff4b1be62c1a17 /sys/vm/vm_object.c
parent4da5299d11b0d1c7ad2354906db505a0c9dbec76 (diff)
Notes
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r--sys/vm/vm_object.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 67a824ff2c8f..b9a186e2e25b 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.7 1994/10/05 09:48:43 davidg Exp $
+ * $Id: vm_object.c,v 1.8 1994/10/09 01:52:12 phk Exp $
*/
/*
@@ -1030,6 +1030,7 @@ vm_object_t 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;
@@ -1046,6 +1047,7 @@ vm_object_t vm_object_lookup(pager)
object->ref_count++;
vm_object_unlock(object);
vm_object_cache_unlock();
+ cnt.v_hits++;
return(object);
}
}