[PATCH 3/9] x86/mm: Make virtual memory layout movable for CONFIG_X86_5LEVEL

2018-02-14 Thread Kirill A. Shutemov
We need to be able to adjust virtual memory layout at runtime to be able to switch between 4- and 5-level paging at boot-time. KASLR already has movable __VMALLOC_BASE, __VMEMMAP_BASE and __PAGE_OFFSET. Let's re-use it. Signed-off-by: Kirill A. Shutemov ---

[PATCH 3/9] x86/mm: Make virtual memory layout movable for CONFIG_X86_5LEVEL

2018-02-14 Thread Kirill A. Shutemov
We need to be able to adjust virtual memory layout at runtime to be able to switch between 4- and 5-level paging at boot-time. KASLR already has movable __VMALLOC_BASE, __VMEMMAP_BASE and __PAGE_OFFSET. Let's re-use it. Signed-off-by: Kirill A. Shutemov --- arch/x86/Kconfig