Re: [PATCHv2 0/3] x86: Make 5-level paging support unconditional for x86-64

From: Kirill A. Shutemov
Date: Tue Jun 24 2025 - 04:50:07 EST


On Tue, Jun 24, 2025 at 08:11:15AM +0000, Khalid Ali wrote:
> This will break x86_64 cpus that doesn't support 5-level paging.

No, it won't.

The patchset removes compile-time config option to disable 5-level paging.
After tha patchset all kernels will be built with 5-level paging *support*.

The actual paging mode is chosen at boot time based on machine
capabilities and kernel command line. Older HW will boot in 4-level paging
mode just fine.

--
Kiryl Shutsemau / Kirill A. Shutemov