Re: [PATCH v7 12/12] Documentation: mm: update the admin guide for mTHP collapse

From: Dev Jain
Date: Sat Jun 07 2025 - 10:35:25 EST



On 07/06/25 6:27 pm, Nico Pache wrote:
On Sat, Jun 7, 2025 at 12:45 AM Dev Jain <dev.jain@xxxxxxx> wrote:

On 15/05/25 8:52 am, Nico Pache wrote:

Now that we can collapse to mTHPs lets update the admin guide to
reflect these changes and provide proper guidence on how to utilize it.

Reviewed-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>
Signed-off-by: Nico Pache <npache@xxxxxxxxxx>
---
Documentation/admin-guide/mm/transhuge.rst | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst
index dff8d5985f0f..5c63fe51b3ad 100644
--- a/Documentation/admin-guide/mm/transhuge.rst
+++ b/Documentation/admin-guide/mm/transhuge.rst


We need to modify/remove the following paragraph:

khugepaged currently only searches for opportunities to collapse to
PMD-sized THP and no attempt is made to collapse to other THP
sizes.
On this version this is currently still true, but once I add Baolin's
patch it will not be true. Thanks for the reminder :)

You referenced Baolin's patch in the other email too, can you send the link,
or the patch?


-- Nico