Re: debug memory usage

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

 



Danilo Reinhardt <Danilo.Reinhardt@de.bosch.com> writes:

> Hi,
>
> ive got an kalloc/kfree problem. Is there any mechanism to see or debug
> memory allocation and freeing inside kernel space... Ive run out of
> memory and dont know it the problem is that i do not free or just free
> to slow ;) 
>
> Before someone ask, yes, i call kfree, but theory and practice... you
> know.

There's some helpful stuff in /proc.  Sometimes it's enough to just
write a script that looks at /proc/slabinfo or /proc/meminfo.

-- 
--Ed L Cashin            |   PGP public key:
  ecashin@uga.edu        |   http://noserose.net/e/pgp/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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