Chengming Zhou (1): mm/ksm: fix ksm_zero_pages accounting David Hildenbrand (1): mm/ksm: unmerge and clear VM_MERGEABLE when setting PR_SET_MEMORY_MERGE=0 Donet Tom (1): mm/ksm: fix incorrect KSM counter handling in mm_struct during fork Jinjiang Tu (5): mm/ksm: fix ksm exec support for prctl mm/ksm: remove redundant code in ksm_fork mm/memcontrol: add ksm state for memcg mm/memcontrol: enable KSM for tasks moving to new memcg mm/ksm: add ksm_only_merge_zero_pages mode Liangcai Fan (1): mm: khugepaged: recalculate min_free_kbytes after stopping khugepaged Nanyong Sun (1): memcg: support ksm merge any mode per cgroup Stefan Roesch (3): mm: add new api to enable ksm per process mm: add new KSM process and sysfs knobs mm/ksm: support fork/exec for prctl xu xin (6): ksm: count ksm merging pages for each process ksm: count allocated ksm rmap_items for each process ksm: support unsharing KSM-placed zero pages ksm: count all zero pages placed by KSM ksm: add ksm zero pages for each process ksm: consider KSM-placed zeropages when calculating KSM profit Documentation/ABI/testing/sysfs-kernel-mm-ksm | 8 + Documentation/admin-guide/mm/ksm.rst | 9 + fs/exec.c | 13 + fs/proc/base.c | 41 +++ include/linux/ksm.h | 65 +++- include/linux/memcontrol.h | 2 + include/linux/mm.h | 1 + include/linux/mm_types.h | 26 ++ include/linux/sched/coredump.h | 7 +- include/uapi/linux/prctl.h | 2 + kernel/sys.c | 21 ++ mm/khugepaged.c | 12 +- mm/ksm.c | 310 ++++++++++++++++-- mm/memcontrol.c | 178 ++++++++++ mm/memory.c | 5 +- mm/mmap.c | 3 + mm/page_alloc.c | 7 +- 17 files changed, 680 insertions(+), 30 deletions(-) -- 2.43.0