Re: [PATCHv7 15/19] x86/mm: Replace compile-time checks for 5-level with runtime-time

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > This patch converts the of CONFIG_X86_5LEVEL check to runtime checks for > p4d folding. > > Signed-off-by: Kirill A. Shutemov > --- > arch/x86/mm/fault.c| 2 +- > arch/x86/mm/ident_map.c| 2 +- > arch/x86/mm/init_64.c | 30 +

[PATCHv7 15/19] x86/mm: Replace compile-time checks for 5-level with runtime-time

2017-09-18 Thread Kirill A. Shutemov
This patch converts the of CONFIG_X86_5LEVEL check to runtime checks for p4d folding. Signed-off-by: Kirill A. Shutemov --- arch/x86/mm/fault.c| 2 +- arch/x86/mm/ident_map.c| 2 +- arch/x86/mm/init_64.c | 30 ++ arch/x86/mm/kasan_init_6