diff options
author | David Greenman <dg@FreeBSD.org> | 1995-03-25 08:42:14 +0000 |
---|---|---|
committer | David Greenman <dg@FreeBSD.org> | 1995-03-25 08:42:14 +0000 |
commit | 260295f9793b0b0c97203585729a844c687502d2 (patch) | |
tree | 249f15a9556433d31fadfc90fe855e543fc8a145 /sys | |
parent | e169c6670be7346ccaec05678793262cb008d10b (diff) | |
download | src-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')
-rw-r--r-- | sys/sys/vmmeter.h | 6 | ||||
-rw-r--r-- | sys/vm/vm_object.c | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h index 4fad4fc51ee9..58992304f4c6 100644 --- a/sys/sys/vmmeter.h +++ b/sys/sys/vmmeter.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)vmmeter.h 8.1 (Berkeley) 6/2/93 - * $Id: vmmeter.h,v 1.8 1995/02/22 18:06:49 davidg Exp $ + * $Id: vmmeter.h,v 1.9 1995/03/25 06:09:28 davidg Exp $ */ #ifndef _SYS_VMMETER_H_ @@ -52,10 +52,9 @@ struct vmmeter { /* * Virtual memory activity. */ - unsigned v_lookups; /* object cache lookups */ - unsigned v_hits; /* object cache hits */ unsigned v_vm_faults; /* number of address memory faults */ unsigned v_cow_faults; /* number of copy-on-writes */ + unsigned v_zfod; /* pages zero filled on demand */ unsigned v_swapin; /* swap pager pageins */ unsigned v_swapout; /* swap pager pageouts */ unsigned v_swappgsin; /* swap pager pages paged in */ @@ -71,7 +70,6 @@ struct vmmeter { unsigned v_dfree; /* pages freed by daemon */ unsigned v_pfree; /* pages freed by exiting processes */ unsigned v_tfree; /* total pages freed */ - unsigned v_zfod; /* pages zero filled on demand */ /* * Distribution of page usages. */ 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); } } |