diff options
author | phk <phk@FreeBSD.org> | 1997-10-11 18:31:40 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-11 18:31:40 +0000 |
commit | 645e7b2ab6676a2a3a05a59a053929d3b7732b4d (patch) | |
tree | 99b56513fb3f54852886a3d0eb7c8b3e1a9f2602 /sys/vm | |
parent | a14e4dea11b5b83147d62a7cb7dacdec1ea19e15 (diff) | |
download | FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.zip FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.tar.gz |
Distribute and statizice a lot of the malloc M_* types.
Substantial input from: bde
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_map.c | 4 | ||||
-rw-r--r-- | sys/vm/vm_zone.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index d4235ad..fed57fe 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.c,v 1.90 1997/09/12 15:58:47 jlemon Exp $ + * $Id: vm_map.c,v 1.91 1997/09/21 04:24:20 dyson Exp $ */ /* @@ -93,6 +93,8 @@ #include <vm/default_pager.h> #include <vm/vm_zone.h> +MALLOC_DEFINE(M_VMMAP, "VM map", "VM map structures"); + /* * Virtual memory maps provide for the mapping, protection, * and sharing of virtual memory objects. In addition, diff --git a/sys/vm/vm_zone.c b/sys/vm/vm_zone.c index 1034346..1c5b6730 100644 --- a/sys/vm/vm_zone.c +++ b/sys/vm/vm_zone.c @@ -18,7 +18,7 @@ * 5. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: vm_zone.c,v 1.7 1997/09/21 04:24:26 dyson Exp $ + * $Id: vm_zone.c,v 1.8 1997/09/21 11:41:12 peter Exp $ */ #include <sys/param.h> @@ -35,6 +35,8 @@ #include <vm/vm_extern.h> #include <vm/vm_zone.h> +MALLOC_DEFINE(M_ZONE, "ZONE", "Zone header"); + /* * This file comprises a very simple zone allocator. This is used * in lieu of the malloc allocator, where needed or more optimal. |