Merging memory pages with same content.

Since Linux Kernel version 2.6.32 there is a mechanism for de-duplication and sharing of memory pages called Kernel Same page Merging. KSM enables dynamic sharing of identical pages found in different memory areas, even if they are not shared by fork. If KSM is enabled on the system,…