[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20240408014458.5084-1-21cnbao@gmail.com>
Date: Mon, 8 Apr 2024 13:44:58 +1200
From: Barry Song <21cnbao@...il.com>
To: sfr@...b.auug.org.au
Cc: akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org,
linux-next@...r.kernel.org,
v-songbaohua@...o.com
Subject: Re: linux-next: build failure after merge of the mm tree
>
> Hi all,
>
> After merging the mm tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> In file included from include/linux/mm.h:1115,
> from include/linux/mman.h:5,
> from arch/powerpc/kernel/asm-offsets.c:19:
> include/linux/huge_mm.h:276:23: error: variably modified 'stats' at file scope
> 276 | unsigned long stats[PMD_ORDER + 1][__MTHP_STAT_COUNT];
> | ^~~~~
>
> Caused by commit
>
> d4358ee0a075 ("mm: add per-order mTHP anon_alloc and anon_alloc_fallback counters")
>
> from the mm-unstable branch of the mm tree.
>
> PMD_ORDER is not necessarily constant on PowerPC (since it depends on
> PTE_INDEX_SIZE).
Thanks!
There is a fix and tested by LTP, Yujie [1].
https://lore.kernel.org/all/20240407042247.201412-1-21cnbao@gmail.com/
>
> I have reverted that commit (and the following one) for today.
Thanks
Barry
Powered by blists - more mailing lists