On Wed, 26 Feb 2003, Daxbert wrote:
> Quoting Julian Elischer <[EMAIL PROTECTED]>: > > > On Wed, 26 Feb 2003, Ed Alley wrote: > > > > > > Re: Resource leaks > > > <HOWTO track resource leaks in kernel modules?> > > > > what KIND of resource leaks? > > > > I guess I asked this question of the wrong list. I'm interested in > finding dma allocs, memory allocs, and IRQ/IO allocs which occur > during a LKM's attached life. I'm adding the ability to detach > if_de and was hoping to find assistance on where to look for > resource tracking tools. For malloc (in the kernel) you can specify a separate pool for a module, so that it will account for mallocs for that module separatly. you can then look at them with vmstat -m check out sys/malloc.h and look at MALLOC_DECLARE is this for 4.x or 5.x? > > --daxbert > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

