[PATCH 4/9] x86/mm: Adjust vmalloc base and size at boot-time

2018-02-14 Thread Kirill A. Shutemov
vmalloc area has different placement and size depending on paging mode. Let's adjust it during early boot accodring to machine capability. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/pgtable_64_types.h | 16 ++--

[PATCH 4/9] x86/mm: Adjust vmalloc base and size at boot-time

2018-02-14 Thread Kirill A. Shutemov
vmalloc area has different placement and size depending on paging mode. Let's adjust it during early boot accodring to machine capability. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/pgtable_64_types.h | 16 ++-- arch/x86/kernel/head64.c| 3 ++-