aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vmmeter.h
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1998-03-07 20:45:47 +0000
committerJohn Dyson <dyson@FreeBSD.org>1998-03-07 20:45:47 +0000
commit4866e0856c18a8cbc2007c1f62ff07a274598580 (patch)
tree57b8a9030f21adc14cdb83d3a93ab7afe7b819c6 /sys/sys/vmmeter.h
parentf0a8e032c6f1314f2cf1c2c8575eb755ba749676 (diff)
downloadsrc-4866e0856c18a8cbc2007c1f62ff07a274598580.tar.gz
src-4866e0856c18a8cbc2007c1f62ff07a274598580.zip
Make vm_fault much cleaner by removing the evil macro inlines, and
put alot of it's context into a data structure. This allows significant shortening of its codepath, and will significantly decrease it's cache footprint. Also, add some stats to vmmeter. Note that you'll have to rebuild/recompile vmstat, systat, etc... Otherwise, you'll get "very interesting" paging stats.
Notes
Notes: svn path=/head/; revision=34202
Diffstat (limited to 'sys/sys/vmmeter.h')
-rw-r--r--sys/sys/vmmeter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h
index 697d0e71c5f1..d26fafa481dd 100644
--- a/sys/sys/vmmeter.h
+++ b/sys/sys/vmmeter.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vmmeter.h 8.2 (Berkeley) 7/10/94
- * $Id$
+ * $Id: vmmeter.h,v 1.15 1997/02/22 09:46:27 peter Exp $
*/
#ifndef _SYS_VMMETER_H_
@@ -54,7 +54,9 @@ struct vmmeter {
*/
u_int v_vm_faults; /* number of address memory faults */
u_int v_cow_faults; /* number of copy-on-writes */
+ u_int v_cow_optim; /* number of optimized copy-on-writes */
u_int v_zfod; /* pages zero filled on demand */
+ u_int v_ozfod; /* pages prezero filled on demand */
u_int v_swapin; /* swap pager pageins */
u_int v_swapout; /* swap pager pageouts */
u_int v_swappgsin; /* swap pager pages paged in */