Date: Tue, 10 Nov 1998 00:46:25 -0800 (PST) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_malloc.c src/sys/sys malloc.h Message-ID: <199811100846.AAA26445@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/11/10 00:46:24 PST
Modified files:
sys/kern kern_malloc.c
sys/sys malloc.h
Log:
Have MALLOC_DECLARE() initialize malloc types explicitly, and have them
removed at module unload (if in a module of course).
However; this introduces a new dependency on <sys/kernel.h> for things
that use MALLOC_DECLARE(). Bruce told me it is better to add sys/kernel.h
to the handful of files that need it rather than add an extra include to
sys/malloc.h for kernel compiles. Updates to follow in subsequent commits.
Revision Changes Path
1.49 +34 -6 src/sys/kern/kern_malloc.c
1.38 +10 -4 src/sys/sys/malloc.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811100846.AAA26445>
