Re: [RESEND RFC PATCH v2 0/5] mm/damon: add mTHP collapse and split actions

From: Lorenzo Stoakes

Date: Mon Jul 06 2026 - 08:11:35 EST


On Fri, Jul 03, 2026 at 12:04:20PM -0700, SJ Park wrote:
> On Thu, 2 Jul 2026 09:52:34 -0700 SJ Park <sj@xxxxxxxxxx> wrote:
>
> > On Thu, 2 Jul 2026 11:23:55 +0100 Lorenzo Stoakes <ljs@xxxxxxxxxx> wrote:
> >
> > > +cc all those you missed.
> >
> > Thank you for doing this, Lorenzo.
> >
> > >
> > > I really need to write a bot to do this, because I'm getting a little tired of
> > > pointing this out :))
> >
> > Good idea. I will also consider implementing this kind of checks to to my lzy
> > tool box [1] or hkml [2].
>
> I implemented [1] the check logic on hkml. Many things to fix and improve in
> future, but seems working at least for this series. You can use it like below:
>
> $ hkml patch check --check_recipients only ./0002-mm-khugepaged-add-damon-collapse-folio-range-for-external-callers.patch
> MISSING RECIPIENTS for [RESEND RFC PATCH v2 2/5] mm/khugepaged: add damon_collapse_folio_range() for external callers
> - Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> - David Hildenbrand <david@xxxxxxxxxx>
> - Lorenzo Stoakes <ljs@xxxxxxxxxx>
> - Zi Yan <ziy@xxxxxxxxxx>
> - Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
> - "Liam R. Howlett" <liam@xxxxxxxxxxxxx>
> - Nico Pache <npache@xxxxxxxxxx>
> - Ryan Roberts <ryan.roberts@xxxxxxx>
> - Dev Jain <dev.jain@xxxxxxx>
> - Barry Song <baohua@xxxxxxxxxx>
> - Lance Yang <lance.yang@xxxxxxxxx>
> - Usama Arif <usama.arif@xxxxxxxxx>
> - linux-kernel@xxxxxxxxxxxxxxx
> $ hkml patch check --check_recipients only ./0003-mm-damon-vaddr-implement-mthp-aware-damos-collapse-handler.patch
> MISSING RECIPIENTS for [RESEND RFC PATCH v2 3/5] mm/damon/vaddr: implement mTHP-aware DAMOS_COLLAPSE handler
> - Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> - linux-kernel@xxxxxxxxxxxxxxx
>
> It is also integrated with the interactive mails list [2], so that you can run
> it without manually downloading the patch files.
>
> FWIW, 'hkml patch format' automatically adds recipients based on
> get_maintainer.pl, so this check is unnecessary for hkml users. But this will
> help me reviewing patches that not formatted with hkml or other similar
> scripts.
>
> hkml has a feature [3] to monitor new mails. Extending it to run this new
> check and send mails for check failures could be one of the ways to implement
> the bot. I'm not planning to do that by myself, though. I will run the check
> only for patches that look interesting to me, for now.
>
> [1] https://github.com/sjp38/hackermail/commit/9ca6fa1f71edc7a219edeb41d4c7f91
> [2] https://github.com/sjp38/hackermail/blob/master/USAGE.md#interactive-viewer
> [3] https://github.com/sjp38/hackermail/blob/master/USAGE.md#monitoring-mails
>
>
> Thanks,
> SJ
>
> [...]

Nice, thanks SJ! That's cool :)

Cheers, Lorenzo