Re: [PATCH] arm64: Define only {pud/pmd}_{set/clear}_huge when usefull
From: Nathan Chancellor
Date: Fri May 14 2021 - 23:59:15 EST
On Fri, May 14, 2021 at 02:42:00PM -0700, Andrew Morton wrote:
> On Fri, 14 May 2021 11:08:53 +0000 (UTC) Christophe Leroy <christophe.leroy@xxxxxxxxxx> wrote:
>
> > When PUD and/or PMD are folded, those functions are useless
> > and we now have a stub in linux/pgtable.h
>
> OK, help me out here please. What patch does this fix?
>
Naresh's original report is here it seems:
https://lore.kernel.org/r/CA+G9fYv79t0+2W4Rt3wDkBShc4eY3M3utC5BHqUgGDwMYExYMw@xxxxxxxxxxxxxx/
I can reproduce the failure that he reported with
ARCH=arm64 allmodconfig and this patch resolves it for me.
Cheers,
Nathan