Re: [PATCH 3/8] x86/mm: Define virtual memory map for 5-level paging

2017-03-28 Thread Kirill A. Shutemov
On Tue, Mar 28, 2017 at 03:21:39PM -0700, H. Peter Anvin wrote: > On 03/27/17 09:29, Kirill A. Shutemov wrote: > > +fffe - fffe007f (=39 bits) %esp fixup stacks > > Why move this? You're right. There's no reason to. It's accident due to ESPFIX_BASE_ADDR being defined using PG

Re: [PATCH 3/8] x86/mm: Define virtual memory map for 5-level paging

2017-03-28 Thread H. Peter Anvin
On 03/27/17 09:29, Kirill A. Shutemov wrote: > +fffe - fffe007f (=39 bits) %esp fixup stacks Why move this? -hpa

[PATCH 3/8] x86/mm: Define virtual memory map for 5-level paging

2017-03-27 Thread Kirill A. Shutemov
The first part of memory map (up to %esp fixup) simply scales existing map for 4-level paging by factor of 9 -- number of bits addressed by additional page table level. The rest of the map is unchanged. Signed-off-by: Kirill A. Shutemov --- Documentation/x86/x86_64/mm.txt | 33 +