summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_zone.h
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-08-06 04:58:05 +0000
committerdyson <dyson@FreeBSD.org>1997-08-06 04:58:05 +0000
commit5f9cb6429dd14c9977c8dfee9f1243a5e02920e4 (patch)
tree5e3c3449eddd368b91facc90ecfded71a9c6997b /sys/vm/vm_zone.h
parent977f60f91e79bdc45d9a0086b6515d828ebfb16b (diff)
downloadFreeBSD-src-5f9cb6429dd14c9977c8dfee9f1243a5e02920e4.zip
FreeBSD-src-5f9cb6429dd14c9977c8dfee9f1243a5e02920e4.tar.gz
Add exposure of some vm_zone allocation stats by sysctl. Also, change
the initialization parameters of some zones in VM map. This contains only optimizations and not bugfixes.
Diffstat (limited to 'sys/vm/vm_zone.h')
-rw-r--r--sys/vm/vm_zone.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/vm/vm_zone.h b/sys/vm/vm_zone.h
index a7aa802..39abfa1 100644
--- a/sys/vm/vm_zone.h
+++ b/sys/vm/vm_zone.h
@@ -19,7 +19,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id$
+ * $Id: vm_zone.h,v 1.2 1997/08/05 22:24:31 dyson Exp $
*/
#if !defined(_SYS_ZONE_H)
@@ -41,12 +41,15 @@ typedef struct vm_zone {
vm_offset_t zkva; /* Base kva of zone */
int zpagecount; /* Total # of allocated pages */
int zpagemax; /* Max address space */
+ int zmax; /* Max number of entries allocated */
+ int ztotal; /* Total entries allocated now */
int zsize; /* size of each entry */
int zalloc; /* hint for # of pages to alloc */
int zflags; /* flags for zone */
int zallocflag; /* flag for allocation */
struct vm_object *zobj; /* object to hold zone */
char *zname; /* name for diags */
+ struct vm_zone *znext; /* list of zones for sysctl */
} *vm_zone_t;
OpenPOWER on IntegriCloud