On 05.08.25 15:51, Linus Torvalds wrote:
On Tue, 5 Aug 2025 at 16:47, David Hildenbrand <david@xxxxxxxxxx> wrote:
arch/x86/Kconfig: select SPARSEMEM_VMEMMAP_ENABLE if X86_64
But SPARSEMEM_VMEMMAP is still user-selectable.
I think you missed this confusion on x86:
Yeah ...
select SPARSEMEM_VMEMMAP if X86_64
IOW, that SPARSEMEM_VMEMMAP_ENABLE is entirely historical, I think,
and it's unconditional these days.
Same for arm64. The other seem to still allow for configuring it.
Probably we could really just force-enable it for the others that
support it.
Then fence of gigantic folios and remove most of the nth_page hackery
when we're working within a folio.
--
Cheers,
David / dhildenb