diff options
author | phk <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
commit | 36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5 (patch) | |
tree | e21c1d8330cbd5fba838afec549f8e4f0f66e451 /sys/vm/vm_pager.c | |
parent | 8ae70d2227594ff4a283453ca3cc3031eb78c14b (diff) | |
download | FreeBSD-src-36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5.zip FreeBSD-src-36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5.tar.gz |
Last major round (Unless Bruce thinks of somthing :-) of malloc changes.
Distribute all but the most fundamental malloc types. This time I also
remembered the trick to making things static: Put "static" in front of
them.
A couple of finer points by: bde
Diffstat (limited to 'sys/vm/vm_pager.c')
-rw-r--r-- | sys/vm/vm_pager.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index f093a9b..bfc2cc1 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_pager.c,v 1.28 1997/08/25 22:15:28 bde Exp $ + * $Id: vm_pager.c,v 1.29 1997/09/01 03:17:28 bde Exp $ */ /* @@ -73,6 +73,7 @@ #include <sys/systm.h> #include <sys/buf.h> #include <sys/ucred.h> +#include <sys/malloc.h> #include <vm/vm.h> #include <vm/vm_param.h> @@ -82,6 +83,8 @@ #include <vm/vm_pager.h> #include <vm/vm_extern.h> +MALLOC_DEFINE(M_VMPGDATA, "VM pgdata", "XXX: VM pager private data"); + extern struct pagerops defaultpagerops; extern struct pagerops swappagerops; extern struct pagerops vnodepagerops; |