3 ms·
Once it’s loaded in memory, if Kernel Samepage Merging is enabled it might not be as bad, but would love to hear of somebody has any thoughts https://docs.ke
by javierhonduco 3y ago
Once it’s loaded in memory, if Kernel Samepage Merging is enabled it might not be as bad, but would love to hear of somebody has any thoughts
https://docs.kernel.org/admin-guide/mm/ksm.html https://docs.kernel.org/admin-guide/mm/ksm.html
- LegionMammal978 3y agoFrom the link: > KSM only merges anonymous (private) pages, never pagecache (file) pages. So it wouldn't be able to help with static libraries loaded from different executables. (At any rate, they'd have to be at the same alignment within the page, which is unlikely without some special linker configuration.)
- javierhonduco 3y agoHad completely missed that line — great point!