Date: Fri, 20 Jul 2001 15:43:22 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Marcelo Carvalho <marcelomcarvalho@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: porting BSD to Freebsd Message-ID: <20010720154322.A9531@Odin.AC.HMC.Edu> In-Reply-To: <20010720223725.76454.qmail@web14408.mail.yahoo.com>; from marcelomcarvalho@yahoo.com on Fri, Jul 20, 2001 at 03:37:25PM -0700 References: <20010720223725.76454.qmail@web14408.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 20, 2001 at 03:37:25PM -0700, Marcelo Carvalho wrote: > In BSD, the /sys/malloc.h file has a list of > definitions of "types of memory to be allocated" that > doesn't appear in the corresponding file in Freebsd.=20 >=20 > Does anybody know where can I find the corresponding > information in FreeBSD? Are they defined as well? They are defined via the MALLOC_DEFINE macro. Current practice seems to be to create a malloc type for each driver so its memory can be tracked seperatly. If you want to find them all you need to grep the /usr/src/sys for them. I've found glimpse very handy for this sort of thing recently. -- Brooks --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7WLQJXY6L6fI4GtQRAuWhAJ9STclOAHzc4oupw3BevjdV8W6BQgCg2HHS QFqJqu8d6e+wEivumWNOY2o= =GXTX -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010720154322.A9531>