Em ter 18 mar 2014, às 15:58:46, Mandeep Sandhu escreveu: > >> 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?) > > Just to be clear, you guys are talking about KSM (kernel samepage > merging) right?
Sorry, yes, KSM. I got the acronym wrong. And I'm also not sure that the read-only pages are marked "mergeable" with madvise. It's quite likely that they aren't because it's not likely to produce any non-negligible results in the common case. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest