On Tue, 12 Jan 2021 at 07:19, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > > On Sun, 10 Jan 2021 13:03:49 +0100 Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > > > On Sun, Jan 10, 2021 at 11:21 AM hailong <hailongliiu@xxxxxxxx> wrote: > > > > > >> +#ifndef PTE_HWTABLE_PTRS > > > >> +#define PTE_HWTABLE_PTRS 0 > > > >> +#endif > > > > > > > >Can this even happen? We have either pgtable-2level.h or > > > >pgtable-3level.h, both of which define PTE_HWTABLE_PTRS. > > > > > > > > > > I guess not for arm. But I'm not sure for other ARCHs. > > > > Oh it's a generic include. Sorry for the confusion. > > > > All good then! > > > > This code is 2+ years old. Do we think it warrants a cc:stable? > Not needed - ARM only gained Kasan support this cycle, and this patch does not affect any other architectures