Re: [PATCHv4 00/14] Boot-time switching between 4- and 5-level paging
From: Kirill A. Shutemov
Date: Mon Aug 14 2017 - 10:30:14 EST
On Tue, Aug 08, 2017 at 03:54:01PM +0300, Kirill A. Shutemov wrote:
> 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
> required a lot of hacks as kernel threats pgd in a special way.
>
> Please review and consider applying.
Ingo, any feedback on this?
--
Kirill A. Shutemov