How to check if my kernel driver is leaking memory

m silverstri michael.j.silverstri at gmail.com
Mon Mar 10 01:14:24 EDT 2014


Hi,

I am developing a kernel driver. What should I test to make sure my
kernel driver is not leaking memory?
1. under normal operation (when applications open and close my driver properly)
2. in error situation (when application open my driver and then it
crashes without close my driver property)

How can I find out the memory usage used by my driver? so that I can
monitor it over time.

Thank you.



More information about the Kernelnewbies mailing list