On 2022-05-03 13:48:50 [+0100], Matthew Wilcox wrote: > Thanks. Stephen already reported that; fix here: > > https://lore.kernel.org/all/Ym++SI1ftbRg+9zK@xxxxxxxxxxxxxxxxxxxx/ Stephen says "I applied the above patch to the mm tree merge today" and I have here next-20220503. I don't have the BUILD_BUG() in can_split_folio() anymore so I have this change. My guess is that since THP_FILE_ALLOC is defined as BUILD_BUG() for !CONFIG_TRANSPARENT_HUGEPAGE and there is nothing that removes that part of the code, I end up in BUILD_BUG with CGROUP and no THP. PageTransHuge() used to "return false" for !CONFIG_TRANSPARENT_HUGEPAGE which isn't the case for folio_test_large(). Sebastian