[PATCHv5 00/19] Boot-time switching between 4- and 5-level paging

2017-08-21 Thread Kirill A. Shutemov
The basic idea is to implement the same logic as pgtable-nop4d.h provides, but at runtime. Runtime folding is only implemented for CONFIG_X86_5LEVEL=y case. With the option disabled, we do compile-time folding as before.. Initially, I tried to fold pgd instread. I've got to shell, but it

[PATCHv5 00/19] Boot-time switching between 4- and 5-level paging

2017-08-21 Thread Kirill A. Shutemov
The basic idea is to implement the same logic as pgtable-nop4d.h provides, but at runtime. Runtime folding is only implemented for CONFIG_X86_5LEVEL=y case. With the option disabled, we do compile-time folding as before.. Initially, I tried to fold pgd instread. I've got to shell, but it