Re: Detecting Memory Leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanos McAtos <mcatos@xxxxxxxxxxxx> wrote:
> Is there any tool which can help me with debugging memory leak in
> kernel module ?
>
If you use fix-sized memory objects, you can use kmem_caches, which will detect memory leaks when you try to destruct them.
Thanks for the tip. I am already using slabs for some of the allocation. I was talking about kmalloc allocation tracking.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux