[$] Process-level kernel samepage merging control

Post Syndicated from original https://lwn.net/Articles/928510/

The kernel
samepage merging (KSM)
feature can save significant amounts of memory
with some types of workloads, but security concerns have greatly limited
its use. Even when KSM can be safely enabled, though, the control interface
provided by the kernel makes it unlikely that KSM actually will be used. A
small patch
series
from Stefan Roesch aims to change this situation by improving
and simplifying how KSM is managed.