aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
authorNico Pache <npache@redhat.com>2026-05-26 07:47:42 -0600
committerAndrew Morton <akpm@linux-foundation.org>2026-05-28 21:31:37 -0700
commit23e21ddb9b47b66b93c195d85d1d2b9623a52936 (patch)
treeccbecc5ee925ff14d352e1923ce0cf5b6268ec68 /Documentation
parentaff27f3bb0abd340bd8eb504f67bd9fec4d1ea95 (diff)
downloadlinux-next-history-23e21ddb9b47b66b93c195d85d1d2b9623a52936.tar.gz
add back note and edit doc about khugepaged limits
Link: https://lore.kernel.org/b457f6e9-ae12-4e1f-8484-f3043ca62276@redhat.com Signed-off-by: Nico Pache <npache@redhat.com> Cc: David Hildenbrand <david@kernel.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Zi Yan <ziy@nvidia.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: "Liam R. Howlett" <liam@infradead.org> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Dev Jain <dev.jain@arm.com> Cc: Barry Song <baohua@kernel.org> Cc: Lance Yang <lance.yang@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/admin-guide/mm/transhuge.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst
index aaf12cfb8f714..23f8d13c2629d 100644
--- a/Documentation/admin-guide/mm/transhuge.rst
+++ b/Documentation/admin-guide/mm/transhuge.rst
@@ -265,6 +265,11 @@ support the following arguments::
Khugepaged controls
-------------------
+.. note::
+ khugepaged currently only searches for opportunities to collapse file/shmem
+ to PMD-sized THP. Only anonymous memory will attempt to collapse to other THP
+ sizes.
+
khugepaged runs usually at low frequency so while one may not want to
invoke defrag algorithms synchronously during the page faults, it
should be worth invoking defrag at least in khugepaged. However it's