Re: [PATCH] /proc/kmalloc

Pekka Enberg
2005-02-21T13:53:30Z

On Mon, 21 Feb 2005 02:43:44 +0000, Baruch Even <baruch@ev-en.org> wrote:
> One thing I've seen once that might be worth adding is the ability to
> mark generations and then ask "what allocations exist from generation x?".

In less general terms, I would like to see which module made the
allocation so after doing rmmod I could see if the module leaks
memory. Many subsystems are already doing this by intercepting
kmalloc() and kfree() calls so it would be nice to get rid of the
duplication...

Pekka