[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How many processes?
From:       Thiago Macieira <thiago.macieira () kdemail ! net>
Date:       2004-10-30 0:57:40
Message-ID: 200410292157.40764.thiago.macieira () kdemail ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Waldo Bastian wrote:
>The memory used by the code itself is already shared between multiple
>instances of the same executable. Whether code is part of a shared library
> or part of an executable makes no difference in that regard.

Actually, it does.

Application code is compiled non-pure, whereas libraries are pure. That 
means applications have non-shareable code pages, while all the code in one 
library is shareable.

That can be easily solved by compiling the application executable with 
-fPIC, though.

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic