summaryrefslogtreecommitdiffstats
path: root/sys/sys/malloc.h
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-08-05 00:02:08 +0000
committerdyson <dyson@FreeBSD.org>1997-08-05 00:02:08 +0000
commit8fa8ae3d0d6a785deced2be3e7fd647f31aaf23e (patch)
treec5bee309962268ed673826beec543a2de0ff70aa /sys/sys/malloc.h
parent257e5090900068920bc5af171dec41a2939a084f (diff)
downloadFreeBSD-src-8fa8ae3d0d6a785deced2be3e7fd647f31aaf23e.zip
FreeBSD-src-8fa8ae3d0d6a785deced2be3e7fd647f31aaf23e.tar.gz
Get rid of the ad-hoc memory allocator for vm_map_entries, in lieu of
a simple, clean zone type allocator. This new allocator will also be used for machine dependent pmap PV entries.
Diffstat (limited to 'sys/sys/malloc.h')
-rw-r--r--sys/sys/malloc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h
index 51e3b0d..fd82765 100644
--- a/sys/sys/malloc.h
+++ b/sys/sys/malloc.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)malloc.h 8.5 (Berkeley) 5/3/95
- * $Id: malloc.h,v 1.20 1997/02/22 09:45:32 peter Exp $
+ * $Id: malloc.h,v 1.21 1997/07/06 02:40:35 dyson Exp $
*/
#ifndef _SYS_MALLOC_H_
@@ -135,7 +135,8 @@
#define M_GEOM_MISC 88 /* geometry misc */
#define M_VFSCONF 89 /* vfsconf structure */
#define M_AIO 90 /* AIO structure(s) */
-#define M_LAST 91 /* Must be last type + 1 */
+#define M_ZONE 91 /* Zone header */
+#define M_LAST 92 /* Must be last type + 1 */
#define INITKMEMNAMES { \
"free", /* 0 M_FREE */ \
@@ -226,6 +227,7 @@
"GEOM misc", /* 88 M_GEOM_MISC */ \
"VFS conf", /* 89 M_VFSCONF */ \
"AIO", /* 90 M_AIO */ \
+ "ZONE", /* 91 M_ZONE */ \
}
struct kmemstats {
OpenPOWER on IntegriCloud