Re: [PATCH 5/9] x86/mm: Make LDT_BASE_ADDR dynamic

2018-02-14 Thread Kirill A. Shutemov
On Wed, Feb 14, 2018 at 11:16:52AM +, Kirill A. Shutemov wrote: > LDT_BASE_ADDR has different value in 4- and 5-level paging > configurations. > > We need to make it dynamic in preparation for boot-time switching > between paging modes. > > Signed-off-by: Kirill A. Shutemov I've just realiz

[PATCH 5/9] x86/mm: Make LDT_BASE_ADDR dynamic

2018-02-14 Thread Kirill A. Shutemov
LDT_BASE_ADDR has different value in 4- and 5-level paging configurations. We need to make it dynamic in preparation for boot-time switching between paging modes. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/pgtable_64_types.h | 9 + arch/x86/mm/dump_pagetables.c