Qt->glib main event loop patch (common main loop)

Thiago Macieira thiago at kde.org
Tue Nov 15 17:38:25 GMT 2005


Martin Konold wrote:
>> It's mapped into virtual memory, only the pages that get actually used
>> are mapped into physical memory.
>
>In contrast to what most people (incl. kernel and glibc people) claim
> the mapping is not entirely free.

No, not really. If a page has not been faulted in, it hasn't been mapped 
to physical memory yet and does not occupy buffers or cache (it may 
already be in cache, but that's another story).

According to the headers in libglib.so, it has a total virtual memory size 
of 149544 bytes, of which only 1828 are non-sharable -- or exactly one 
page.

I would compare to QtCore if I could, but I don't have a non-debugging 
non-exception build available. (just for info, my libQtCore_debug.so has 
230394 bytes of exception headers and tables alone)
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051115/d5803790/attachment.sig>


More information about the kde-core-devel mailing list