Re: [PATCH v5 4/4] selftests/mm: test fork of PMD-mapped shmem THPs

From: Konstantin Khorenko

Date: Thu Nov 05 2026 - 08:36:10 EST


On 11/5/26 00:15, Jose A. Perez de Azpillaga wrote:
> On 11/4/26 9:40 PM, Konstantin Khorenko wrote:
>> + pmdsize = read_pmd_pagesize();
>
> read_pmd_pagesize() is pmd_psize() in mm-new since 5d123bb07b18
> ("kselftest: mm: rename read_pmd_pagesize() to pmd_psize()"), so this
> won't build there, will it?

Right, my fault: I based all the versions on Linus' tree, which still
has read_pmd_pagesize(). On mm-new this patch needs a one-line
s/read_pmd_pagesize/pmd_psize/, patches 1-3 apply as they are.

If a new version is needed, I'll base it on mm-new.

Thanks for the review!

--
Cheers,
Konstantin.