Yup. KSM needs to be backed up by ballooning, swap, and live migration.
Isn't the knob in this proposal the balloon? AFAICT, the idea here is
to change how the guest reacts to being ballooned, but the trigger
itself would not change.
My issue is that changing the type of object being preferentially
reclaimed just changes the type of workload that would prematurely
suffer from reclaim. In this case, workloads that use a lot of unmapped
pagecache would suffer.
btw, aren't /proc/sys/vm/swapiness and vfs_cache_pressure similar knobs?
--
error compiling committee.c: too many arguments to function
--