Re: [PATCH v3 0/3] mm/damon: Introduce a huge page collapsing mechanism using auto tuning
From: SJ Park
Date: Mon Jul 20 2026 - 23:59:03 EST
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.
[1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees
Thanks,
SJ
[...]