The patch titled Subject: mm-count-the-number-of-anonymous-thps-per-size-fix has been added to the -mm mm-unstable branch. Its filename is mm-count-the-number-of-anonymous-thps-per-size-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-count-the-number-of-anonymous-thps-per-size-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: mm-count-the-number-of-anonymous-thps-per-size-fix Date: Tue Aug 27 06:00:44 PM PDT 2024 documentation fixups, per David Link: https://lkml.kernel.org/r/3e8add35-e26b-443b-8a04-1078f4bc78f6@xxxxxxxxxx Cc: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> Cc: Barry Song <v-songbaohua@xxxxxxxx> Cc: Chris Li <chrisl@xxxxxxxxxx> Cc: Chuanhua Han <hanchuanhua@xxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Kairui Song <kasong@xxxxxxxxxxx> Cc: Kalesh Singh <kaleshsingh@xxxxxxxxxx> Cc: Lance Yang <ioworker0@xxxxxxxxx> Cc: Ryan Roberts <ryan.roberts@xxxxxxx> Cc: Shuai Yuan <yuanshuai@xxxxxxxx> Cc: Usama Arif <usamaarif642@xxxxxxxxx> Cc: Zi Yan <ziy@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/admin-guide/mm/transhuge.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/Documentation/admin-guide/mm/transhuge.rst~mm-count-the-number-of-anonymous-thps-per-size-fix +++ a/Documentation/admin-guide/mm/transhuge.rst @@ -552,9 +552,9 @@ split_deferred be split under memory pressure, if splitting is possible. nr_anon - the number of transparent anon huge pages we have in the whole system. - These huge pages could be entirely mapped or have partially - unmapped/unused subpages. + the number of anonymous THP we have in the whole system. These THPs + might be currently entirely mapped or have partially unmapped/unused + subpages. As the system ages, allocating huge pages may be expensive as the system uses memory compaction to copy data around memory to free a _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are include-linux-mmzoneh-clean-up-watermark-accessors.patch mm-remove-legacy-install_special_mapping-code-checkpatch-fixes.patch mm-contig_alloc-support-__gfp_comp-fix.patch selftests-mm-add-more-mseal-traversal-tests-fix.patch mm-remove-pageactive-fix.patch selftests-test_zswap-add-test-for-hierarchical-zswapwriteback-fix.patch mm-count-the-number-of-anonymous-thps-per-size-fix.patch fault-inject-improve-build-for-config_fault_injection=n-fix.patch fault-inject-improve-build-for-config_fault_injection=n-fix-2.patch fault-inject-improve-build-for-config_fault_injection=n-fix-3.patch