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.
>
> 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
PGP signature