Somewhat OT: About modules coresize
Przemek Klosowski
przemek.klosowski at nist.gov
Tue May 21 15:07:59 UTC 2013
On 05/21/2013 08:50 AM, Sergio Belkin wrote:
> I know that is somehat OT, but I was looking for trying to discover what
> does mean the size column of lsmod. Some people says is memory used by
> the module, but if I run strace lsmod I found that it takes a look to
> coresize files at /sys and read
> /usr/share/doc/kernel-doc-3.9.2/Documentation/ABI/testing/sysfs-module
> and it says "Module size in bytes" but if I see the filesize using ls
> don't match
>
> So what does really mean coresize?
Modules drop unused memory after initialization so their core resident
size doesn't have to correspond to filesize.
More information about the devel
mailing list