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