On 12/29/2022 7:33 AM, Andrew Morton wrote: > On Fri, 23 Dec 2022 21:52:07 +0800 Yin Fengwei <fengwei.yin@xxxxxxxxx> wrote: > >> Kernel build regression with LLVM was reported here: >> https://lore.kernel.org/all/Y1GCYXGtEVZbcv%2F5@dev-arch.thelio-3990X/ >> with commit f35b5d7d676e ("mm: align larger anonymous mappings on THP >> boundaries"). And the commit f35b5d7d676e was reverted. >> >> It turned out the regression is related with madvise(MADV_DONTNEED) >> was used by ld.lld. > > Are we able to identify a Fixes: target for this? Thanks. I am not sure. The commit f35b5d7d676e didn't introduce this issue. It just exposed this issue and it's reverted already. The partial THP behavior was like this from the first day and not a regression. Regards Yin, Fengwei