From owner-freebsd-questions Fri Jul 20 15:43:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id EAB5D37B403; Fri, 20 Jul 2001 15:43:23 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f6KMhMW10423; Fri, 20 Jul 2001 15:43:22 -0700 Date: Fri, 20 Jul 2001 15:43:22 -0700 From: Brooks Davis To: Marcelo Carvalho Cc: freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: porting BSD to Freebsd Message-ID: <20010720154322.A9531@Odin.AC.HMC.Edu> References: <20010720223725.76454.qmail@web14408.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010720223725.76454.qmail@web14408.mail.yahoo.com>; from marcelomcarvalho@yahoo.com on Fri, Jul 20, 2001 at 03:37:25PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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