The patch titled Subject: mm-add-docs-for-per-order-mthp-split-counters-v3 has been added to the -mm mm-unstable branch. Its filename is mm-add-docs-for-per-order-mthp-split-counters-v3.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-add-docs-for-per-order-mthp-split-counters-v3.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: Lance Yang <ioworker0@xxxxxxxxx> Subject: mm-add-docs-for-per-order-mthp-split-counters-v3 Date: Thu, 4 Jul 2024 09:29:05 +0800 improve the doc as suggested by Ryan Link: https://lkml.kernel.org/r/20240704012905.42971-3-ioworker0@xxxxxxxxx Signed-off-by: Mingzhe Yang <mingzhe.yang@xxxxxx> Signed-off-by: Lance Yang <ioworker0@xxxxxxxxx> Reviewed-by: Barry Song <baohua@xxxxxxxxxx> Cc: Bang Li <libang.li@xxxxxxxxxxxx> Cc: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Ryan Roberts <ryan.roberts@xxxxxxx> Cc: Yang Shi <shy828301@xxxxxxxxx> Cc: Zi Yan <ziy@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/admin-guide/mm/transhuge.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) --- a/Documentation/admin-guide/mm/transhuge.rst~mm-add-docs-for-per-order-mthp-split-counters-v3 +++ a/Documentation/admin-guide/mm/transhuge.rst @@ -369,10 +369,6 @@ also applies to the regions registered i Monitoring usage ================ -.. note:: - Currently the below counters only record events relating to - PMD-sized THP. Events relating to other THP sizes are not included. - The number of PMD-sized anonymous transparent huge pages currently used by the system is available by reading the AnonHugePages field in ``/proc/meminfo``. To identify what applications are using PMD-sized anonymous transparent huge @@ -516,8 +512,8 @@ file_fallback_charge split is incremented every time a huge page is successfully split into - base pages. This can happen for a variety of reasons but a common - reason is that a huge page is old and is being reclaimed. + smaller orders. This can happen for a variety of reasons but a + common reason is that a huge page is old and is being reclaimed. This action implies splitting any block mappings into PTEs. split_failed _ Patches currently in -mm which might be from ioworker0@xxxxxxxxx are mm-add-per-order-mthp-split-counters.patch mm-add-per-order-mthp-split-counters-v3.patch mm-add-docs-for-per-order-mthp-split-counters.patch mm-add-docs-for-per-order-mthp-split-counters-v3.patch