Hi

I need to estimate how much memory our driver uses.
I guess it's not the size that "lsmod" gives because it probably
doesn't count all the memory allocated by kmalloc.
Is there a tool to run against the driver which would show how much
memory the driver uses in total? Would it be a safe bet to say that the
memory the driver is using is the size that lsmod gives + all the
memory allocated by kmalloc?

Thank you,
Andrew