Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1611416 > unrolled thread

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

Started by"H. Peter Anvin" <hpa@zytor.com>
First post2017-03-29 00:30 +0200
Last post2017-03-29 00:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 3/8] x86/mm: Define virtual memory map for 5-level paging "H. Peter Anvin" <hpa@zytor.com> - 2017-03-29 00:30 +0200
    Re: [PATCH 3/8] x86/mm: Define virtual memory map for 5-level paging "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-03-29 00:50 +0200

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

From"H. Peter Anvin" <hpa@zytor.com>
Date2017-03-29 00:30 +0200
SubjectRe: [PATCH 3/8] x86/mm: Define virtual memory map for 5-level paging
Message-ID<tq7MJ-5VB-3@gated-at.bofh.it>
On 03/27/17 09:29, Kirill A. Shutemov wrote:
> +fffe000000000000 - fffe007fffffffff (=39 bits) %esp fixup stacks

Why move this?

	-hpa

[toc] | [next] | [standalone]


#1611421

From"Kirill A. Shutemov" <kirill@shutemov.name>
Date2017-03-29 00:50 +0200
Message-ID<tq866-64z-5@gated-at.bofh.it>
In reply to#1611416
On Tue, Mar 28, 2017 at 03:21:39PM -0700, H. Peter Anvin wrote:
> On 03/27/17 09:29, Kirill A. Shutemov wrote:
> > +fffe000000000000 - fffe007fffffffff (=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 PGDIR_SHIFT.
We should use P4D_SHIFT instead to produce consistent result across
paging modes.

I'll update the patch tomorrow. Thanks for noticing this.

-- 
 Kirill A. Shutemov

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web