Somewhat OT: About modules coresize

Sergio Belkin sebelk at gmail.com
Tue May 21 15:16:06 UTC 2013


2013/5/21 Przemek Klosowski <przemek.klosowski at nist.gov>

> 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.
>
>
>
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.**org/mailman/listinfo/devel<https://admin.fedoraproject.org/mailman/listinfo/devel>



So is it memory used by the module?
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130521/c6cf371a/attachment.html>


More information about the devel mailing list