Re: [PATCH v3 0/3] mm/damon: Introduce a huge page collapsing mechanism using auto tuning
From: Gutierrez Asier
Date: Wed Jul 22 2026 - 09:59:28 EST
Hi SJ,
On 7/22/2026 4:45 PM, SJ Park wrote:
> On Mon, 20 Jul 2026 20:58:47 -0700 SJ Park <sj@xxxxxxxxxx> wrote:
>
>> Hello Asier,
>>
>> On Mon, 20 Jul 2026 12:01:37 +0000 <gutierrez.asier@xxxxxxxxxxxxxxxxxxx> wrote:
>>
>>> From: Asier Gutierrez <gutierrez.asier@xxxxxxxxxxxxxxxxxxx>
>>>
>>> Overview
>>> ========
>>> This patch set introduces a new autotuning which allows to collapse
>>> hot regions into hugepages.
>>
>> Thank you for making this series well done like this!
>>
>> [...]
>>> Patches Sequence
>>> ================
>>> Patch 1 -> Introduce DAMOS_QUOTA_HUGEPAGE_MEM_BP and autotuning
>>> Patch 2 -> sysfs support for the new quota goal
>>> Patch 3 -> Document hugepage_mem_bp parameter
>>
>> I'd prefer handling 'total' underflow and returning 10,000 instead of INT_MAX
>> from damos_hugepage_mem_bp() corner cases. But definitely that is no blocker.
>> For the series,
>>
>> Reviewed-by: SJ Park <sj@xxxxxxxxxx>
>>
>> This series is applied to damon/next [1] tree. If this series is not added to
>> mm.git in short term (~3 days?), I will ask mm.git maintainer (Andrew Morton)
>> to pick this. In the case, I will update patch 1 to do what I mentioned as
>> preferred change if you don't mind. So, no action from your side is needed for
>> now. If it seems I also forgot doing that or you cannot wait for my action,
>> please feel free to directly ask that to Andrew.
>
> We (mm community) now want to focus on making mm.git more stabilized and
> therefore ready for the next merge window, rather than adding more changes that
> are not really urgent. I agree and want to help [1] that. For the reason,
> unless Andre pick this first, I will request adding this to mm.git only after
> next -rc1 release. Let me know if you think this is really urgent.
>
> [1] https://lore.kernel.org/20260722133829.87607-1-sj@xxxxxxxxxx
>
>
> Thanks,
> SJ
>
> [...]
>
No problem at all. I am fine with it.
--
Asier Gutierrez
Huawei