Re: [PATCH v5 00/19] selftests/mm: improve khugepaged coverage
From: Kiryl Shutsemau
Date: Tue Sep 08 2026 - 17:40:26 EST
On Tue, Sep 08, 2026 at 12:41:02PM -0700, Andrew Morton wrote:
> On Tue, 8 Sep 2026 13:50:46 +0100 Kiryl Shutsemau <kirill@xxxxxxxxxxxxx> wrote:
>
> > khugepaged collapses to mTHP orders since 7.2, and 7.3 added three
> > selftest cases for it: the generic collapse cases run at one order named
> > by -c, with the result detected by counting folios of that order.
> >
> > That leaves the collapse path largely untested. The suite does not run
> > where a PMD is 512M. A folio count cannot say where a collapse landed.
> > Fixed sleeps cannot tell "not collapsed" from "not scanned yet". And
> > nothing exercises collapse under contention.
> >
> > Close those gaps in order:
>
> Added to mm-new, thanks.
Thanks!
> Sashiko asked a few things:
>
> https://sashiko.dev/#/patchset/20260908125105.1510704-1-kirill@xxxxxxxxxxxxx
I've replied with fixups to the affected patches.
Let me know if you would like a respin or the fixes in any other form.
--
Kiryl Shutsemau / Kirill A. Shutemov