lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6bb2a3f5-d10c-4a0a-abd3-d319dc70aec8@linux.alibaba.com>
Date: Mon, 9 Jun 2025 14:39:59 +0800
From: Baolin Wang <baolin.wang@...ux.alibaba.com>
To: Dev Jain <dev.jain@....com>, Nico Pache <npache@...hat.com>
Cc: linux-mm@...ck.org, linux-doc@...r.kernel.org,
 linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
 david@...hat.com, ziy@...dia.com, lorenzo.stoakes@...cle.com,
 Liam.Howlett@...cle.com, ryan.roberts@....com, corbet@....net,
 rostedt@...dmis.org, mhiramat@...nel.org, mathieu.desnoyers@...icios.com,
 akpm@...ux-foundation.org, baohua@...nel.org, willy@...radead.org,
 peterx@...hat.com, wangkefeng.wang@...wei.com, usamaarif642@...il.com,
 sunnanyong@...wei.com, vishal.moola@...il.com,
 thomas.hellstrom@...ux.intel.com, yang@...amperecomputing.com,
 kirill.shutemov@...ux.intel.com, aarcange@...hat.com, raquini@...hat.com,
 anshuman.khandual@....com, catalin.marinas@....com, tiwai@...e.de,
 will@...nel.org, dave.hansen@...ux.intel.com, jack@...e.cz, cl@...two.org,
 jglisse@...gle.com, surenb@...gle.com, zokeefe@...gle.com,
 hannes@...xchg.org, rientjes@...gle.com, mhocko@...e.com,
 rdunlap@...radead.org, Bagas Sanjaya <bagasdotme@...il.com>
Subject: Re: [PATCH v7 12/12] Documentation: mm: update the admin guide for
 mTHP collapse



On 2025/6/9 13:26, Dev Jain wrote:
> 
> On 09/06/25 8:36 am, Baolin Wang wrote:
>>
>>
>> On 2025/6/9 03:50, Nico Pache wrote:
>>> On Sat, Jun 7, 2025 at 8:35 AM Dev Jain <dev.jain@....com> wrote:
>>>>
>>>>
>>>> On 07/06/25 6:27 pm, Nico Pache wrote:
>>>>> On Sat, Jun 7, 2025 at 12:45 AM Dev Jain <dev.jain@....com> 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@...il.com>
>>>>>> Signed-off-by: Nico Pache <npache@...hat.com>
>>>>>> ---
>>>>>>    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?
>>>
>>> He didn't send it to the mailing list, but rather off chain to all the
>>> recipients of this series. You should have it in your email look for
>>>
>>> Subject: "mm: khugepaged: allow khugepaged to check all anonymous mTHP
>>> orders" and "mm: khugepaged: kick khugepaged for enabling
>>> none-PMD-sized mTHPs"
>>
>> You can find them at the following link:
>> https://lore.kernel.org/all/ac9ed6d71b439611f9c94b3506a8ce975d4636e9.1748435162.git.baolin.wang@linux.alibaba.com/
> 
> 
> Thanks! Looks quite similar to my approach.

Sorry, I didn't see your previous patches (if I had, it would have saved 
me a lot of testing time:) ).

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ