/KSM-tools

Kernel Samepage Merging tools

Primary LanguageC

Kernel Samepage Merging tools
-----------------------------

madv_ksm.c - LD_PRELOAD library that hooks mmap, mmap2, mremap, realloc, calloc and malloc. Marks full page as MADV_MERGEABLE

COMPILE
-------
just 'make'

RUN
---
$ LD_PRELOAD=./madv_ksm.so <your app>