Re: [PATCH v3 0/3] mm/damon: Introduce a huge page collapsing mechanism using auto tuning
From: SJ Park
Date: Tue Jul 21 2026 - 10:09:01 EST
On Tue, 21 Jul 2026 15:58:13 +0300 Gutierrez Asier <gutierrez.asier@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi SJ,
>
> On 7/21/2026 6:58 AM, SJ Park 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.
> >
> > [1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees
> >
> >
> > Thanks,
> > SJ
> >
> > [...]
>
> Thanks a lot for your patience and help with the patch series.
>
> I will work on the suggested minor changes once the this patch set
> lands into mm-next, if you don't mind.
As the change is so minor, let's do so as a followup if Andrew picks this
as-is. If not and if you or I do resend this series, let's do that as a part
of the resend.
Thanks,
SJ
[...]