remove anon related statistics which are no longer used.
This commit is contained in:
parent
f3bf234dc9
commit
627b0d5099
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uvm_extern.h,v 1.100 2005/04/01 11:59:38 yamt Exp $ */
|
||||
/* $NetBSD: uvm_extern.h,v 1.101 2005/05/15 08:01:06 yamt Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -307,9 +307,9 @@ struct uvmexp {
|
|||
int swpginuse; /* number of swap pages in use */
|
||||
int swpgonly; /* number of swap pages in use, not also in RAM */
|
||||
int nswget; /* number of times fault calls uvm_swap_get() */
|
||||
int nanon; /* number total of anon's in system */
|
||||
int nanonneeded;/* number of anons currently needed */
|
||||
int nfreeanon; /* number of free anon's */
|
||||
int unused1; /* used to be nanon */
|
||||
int unused2; /* used to be nanonneeded */
|
||||
int unused3; /* used to be nfreeanon */
|
||||
|
||||
/* stat counters */
|
||||
int faults; /* page fault count */
|
||||
|
@ -401,9 +401,9 @@ struct uvmexp_sysctl {
|
|||
int64_t swpginuse;
|
||||
int64_t swpgonly;
|
||||
int64_t nswget;
|
||||
int64_t nanon;
|
||||
int64_t nanonneeded;
|
||||
int64_t nfreeanon;
|
||||
int64_t unused1; /* used to be nanon */
|
||||
int64_t unused2; /* used to be nanonneeded */
|
||||
int64_t unused3; /* used to be nfreeanon */
|
||||
int64_t faults;
|
||||
int64_t traps;
|
||||
int64_t intrs;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uvm_meter.c,v 1.33 2004/10/10 09:57:31 yamt Exp $ */
|
||||
/* $NetBSD: uvm_meter.c,v 1.34 2005/05/15 08:01:06 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.33 2004/10/10 09:57:31 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.34 2005/05/15 08:01:06 yamt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
|
@ -179,9 +179,6 @@ sysctl_vm_uvmexp2(SYSCTLFN_ARGS)
|
|||
u.swpginuse = uvmexp.swpginuse;
|
||||
u.swpgonly = uvmexp.swpgonly;
|
||||
u.nswget = uvmexp.nswget;
|
||||
u.nanon = uvmexp.nanon;
|
||||
u.nanonneeded = uvmexp.nanonneeded;
|
||||
u.nfreeanon = uvmexp.nfreeanon;
|
||||
u.faults = uvmexp.faults;
|
||||
u.traps = uvmexp.traps;
|
||||
u.intrs = uvmexp.intrs;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uvm_stat.c,v 1.26 2005/04/27 11:02:43 yamt Exp $ */
|
||||
/* $NetBSD: uvm_stat.c,v 1.27 2005/05/15 08:01:06 yamt Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_stat.c,v 1.26 2005/04/27 11:02:43 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_stat.c,v 1.27 2005/05/15 08:01:06 yamt Exp $");
|
||||
|
||||
#include "opt_uvmhist.h"
|
||||
#include "opt_ddb.h"
|
||||
|
@ -244,12 +244,9 @@ uvmexp_print(void (*pr)(const char *, ...))
|
|||
uvmexp.pdbusy, uvmexp.pdfreed, uvmexp.pdreact, uvmexp.pddeact);
|
||||
(*pr)(" pageouts=%d, pending=%d, nswget=%d\n", uvmexp.pdpageouts,
|
||||
uvmexp.pdpending, uvmexp.nswget);
|
||||
(*pr)(" nswapdev=%d, nanon=%d, nanonneeded=%d nfreeanon=%d\n",
|
||||
uvmexp.nswapdev, uvmexp.nanon, uvmexp.nanonneeded,
|
||||
uvmexp.nfreeanon);
|
||||
(*pr)(" swpages=%d, swpginuse=%d, swpgonly=%d paging=%d\n",
|
||||
(*pr)(" nswapdev=%d, swpgavail=%d\n",
|
||||
uvmexp.nswapdev, uvmexp.swpgavail);
|
||||
(*pr)(" swpages=%d, swpginuse=%d, swpgonly=%d, paging=%d\n",
|
||||
uvmexp.swpages, uvmexp.swpginuse, uvmexp.swpgonly, uvmexp.paging);
|
||||
(*pr)(" swpgavail=%d\n",
|
||||
uvmexp.swpgavail);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vmstat.c,v 1.131 2005/03/10 16:28:54 wiz Exp $ */
|
||||
/* $NetBSD: vmstat.c,v 1.132 2005/05/15 08:01:20 yamt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -77,7 +77,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1986, 1991, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: vmstat.c,v 1.131 2005/03/10 16:28:54 wiz Exp $");
|
||||
__RCSID("$NetBSD: vmstat.c,v 1.132 2005/05/15 08:01:20 yamt Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -750,8 +750,6 @@ dosum(void)
|
|||
(void)printf("%9u swap pages\n", uvmexp.swpages);
|
||||
(void)printf("%9u swap pages in use\n", uvmexp.swpginuse);
|
||||
(void)printf("%9u swap allocations\n", uvmexp.nswget);
|
||||
(void)printf("%9u anons\n", uvmexp.nanon);
|
||||
(void)printf("%9u free anons\n", uvmexp.nfreeanon);
|
||||
|
||||
(void)printf("%9u total faults taken\n", uvmexp.faults);
|
||||
(void)printf("%9u traps\n", uvmexp.traps);
|
||||
|
|
Loading…
Reference in New Issue