[Interest] dynamic library question

Giuseppe D'Angelo dangelog at gmail.com
Tue Mar 18 10:05:45 CET 2014


On 17 March 2014 23:21, Thiago Macieira <thiago.macieira at intel.com> wrote:
>
> However, if KSP is enabled, the kernel might realise the pages are identical
> and drop one copy. I would recommend you don't depend on it, so simply don't
> duplicate the files.

Doesn't KSP scan only the pages that have been explictly marked as
mergeable via madvise? Why would the dynamic linker use such flag on
the libraries it maps into memory? (It would be pointless in the vast
majority of the cases except in OP's scenario?)

Cheers,
-- 
Giuseppe D'Angelo



More information about the Interest mailing list