Linux Looking To Make 5-Level Paging Support Unconditional For x86_64 Kernel Builds
- Reference: 0001475836
- News link: https://www.phoronix.com/news/Linux-Unconditional-5-Level-x86
- Source link:
Intel is moving along to unconditionally enable [5]5-level paging support within the Linux kernel. This is about extending the virtual address size from 48 to 57 bits to allow up to 128PB of virtual memory.
[6]This patch series sent out recently by Intel engineer Kirill Shutemov aims to remove the "CONFIG_X86_5LEVEL" Kconfig build-time option and simply have 5-level paging always enabled for new x86_64 kernel builds.
"Both Intel and AMD CPUs support 5-level paging, which is expected to become more widely adopted in the future.
Remove CONFIG_X86_5LEVEL.
In preparation to that remove CONFIG_DYNAMIC_MEMORY_LAYOUT and make SPARSEMEM_VMEMMAP the only memory model."
In practice this doesn't mean a whole lot with most Linux distribution vendor kernels shipping with CONFIG_X86_5LEVEL enabled, but it's one less knob and a sign of the times with catering more of the upstream kernel to modern hardware needs.
[1] https://www.phoronix.com/news/Intel-5-Level-Paging
[2] https://www.phoronix.com/news/Intel-5-LVL-Paging-4.12-MM
[3] https://www.phoronix.com/news/Linux-5.5-5-Level-Paging
[4] https://www.phoronix.com/news/AMD-5-Level-Paging-KVM
[5] https://www.phoronix.com/search/5-level+paging
[6] https://lore.kernel.org/lkml/20240621164406.256314-1-kirill.shutemov@linux.intel.com/
phoronix