The patch titled Subject: mm/ksm: document pages_skipped sysfs knob has been added to the -mm mm-unstable branch. Its filename is mm-ksm-document-pages_skipped-sysfs-knob.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-ksm-document-pages_skipped-sysfs-knob.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: Stefan Roesch <shr@xxxxxxxxxxxx> Subject: mm/ksm: document pages_skipped sysfs knob Date: Mon, 18 Sep 2023 11:58:16 -0700 This adds documentation for the new metric pages_skipped. Link: https://lkml.kernel.org/r/20230918185816.1518366-5-shr@xxxxxxxxxxxx Signed-off-by: Stefan Roesch <shr@xxxxxxxxxxxx> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/admin-guide/mm/ksm.rst | 2 ++ 1 file changed, 2 insertions(+) --- a/Documentation/admin-guide/mm/ksm.rst~mm-ksm-document-pages_skipped-sysfs-knob +++ a/Documentation/admin-guide/mm/ksm.rst @@ -178,6 +178,8 @@ pages_unshared how many pages unique but repeatedly checked for merging pages_volatile how many pages changing too fast to be placed in a tree +pages_skipped + how many pages did the "smart" page scanning algorithm skip full_scans how many times all mergeable areas have been scanned stable_node_chains _ Patches currently in -mm which might be from shr@xxxxxxxxxxxx are mm-ksm-add-smart-page-scanning-mode.patch mm-ksm-add-pages_skipped-metric.patch mm-ksm-document-smart-scan-mode.patch mm-ksm-document-pages_skipped-sysfs-knob.patch