On Tue, 5 Aug 2025 at 16:37, David Hildenbrand <david@xxxxxxxxxx> wrote: > > Ordinary buddy allocations cannot exceed a memory section, but hugetlb and > dax can with gigantic folios ... :( Just turn that code off. Nobody sane cares. It sounds like people have bent over backwards to fix the insane case instead of saying "that's insane, let's not support it". And yes, "that's insane" is actually fairly recent. It's not that long ago that we made SPARSEMEM_VMEMMAP the mandatory option on x86-64. So it was all sane in a historical context, but it's not sane any more. But now it *is* the mandatory option both on x86 and arm64, so I really think it's time to get rid of pointless pain points. (I think powerpc still makes it an option to do sparsemem without vmemmap, but it *is* an option there too) Linus