Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes: > On Thu, 23 Feb 2023 20:39:57 -0800 Stefan Roesch <shr@xxxxxxxxxxxx> wrote: > >> So far KSM can only be enabled by calling madvise for memory regions. To >> be able to use KSM for more workloads, KSM needs to have the ability to be >> enabled / disabled at the process / cgroup level. > > I'll toss this in for integration and testing, but I'd like to see > reviewer input before proceeding further. > > Please plan on adding suitable user-facing documentation? Presumably a > patch for the prctl manpage? The doc patch has been posted: https://lore.kernel.org/linux-man/20230227220206.436662-1-shr@xxxxxxxxxxxx/