The patch titled Subject: ksm-add-ksm-involvement-information-for-each-process-fix has been added to the -mm mm-unstable branch. Its filename is ksm-add-ksm-involvement-information-for-each-process-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/ksm-add-ksm-involvement-information-for-each-process-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: ksm-add-ksm-involvement-information-for-each-process-fix Date: Mon Jan 13 06:48:34 PM PST 2025 wording tweaks, per David and akpm Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Wang Yaxin <wang.yaxin@xxxxxxxxxx> Cc: xu xin <xu.xin16@xxxxxxxxxx> Cc: Yang Yang <yang.yang29@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/filesystems/proc.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) --- a/Documentation/filesystems/proc.rst~ksm-add-ksm-involvement-information-for-each-process-fix +++ a/Documentation/filesystems/proc.rst @@ -2257,10 +2257,10 @@ Description ksm_rmap_items ^^^^^^^^^^^^^^ -The number of ksm_rmap_item structure in use. The structure of -ksm_rmap_item is to store the reverse mapping information for virtual -addresses. KSM will generate a ksm_rmap_item for each ksm-scanned page -of the process. +The number of ksm_rmap_item structures in use. The structure +ksm_rmap_item stores the reverse mapping information for virtual +addresses. KSM will generate a ksm_rmap_item for each ksm-scanned page of +the process. ksm_zero_pages ^^^^^^^^^^^^^^ @@ -2289,14 +2289,16 @@ ksm_merge_any ^^^^^^^^^^^^^ It specifies whether the process'mm is added by prctl() into the candidate list -of KSM or not, and KSM scanning is fully enabled at process level. +of KSM or not, and if KSM scanning is fully enabled at process level. ksm_mergeable ^^^^^^^^^^^^^ -It specifies whether any VMAs of the process'mm are currently applicable to KSM. +It specifies whether any VMAs of the process'mm are currently applicable +to KSM. -More information about KSM can be found at Documentation/admin-guide/mm/ksm.rst. +More information about KSM can be found in +Documentation/admin-guide/mm/ksm.rst. Chapter 4: Configuring procfs _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-swap_cgroup-allocate-swap_cgroup-map-using-vcalloc-fix.patch mm-page_alloc-add-some-detailed-comments-in-can_steal_fallback-fix.patch mm-introduce-mmap_lock_speculate_try_beginretry-fix.patch mm-damon-tests-vaddr-kunith-reduce-stack-consumption.patch mm-damon-tests-vaddr-kunith-reduce-stack-consumption-fix.patch mm-fix-outdated-incorrect-code-comments-for-handle_mm_fault-fix.patch mm-huge_memoryc-rename-shadowed-local.patch mm-shmem-skip-swapcache-for-swapin-of-synchronous-swap-device-fix.patch ksm-add-ksm-involvement-information-for-each-process-fix.patch documentation-filesystems-procrst-fix-possessive-form-of-process.patch