From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kirill A. Shutemov" Subject: Re: [RFC, PATCHv1 17/28] x86/mm: define virtual memory map for 5-level paging Date: Thu, 8 Dec 2016 22:24:37 +0300 Message-ID: <20161208192437.GC30380@node.shutemov.name> References: <20161208162150.148763-1-kirill.shutemov@linux.intel.com> <20161208162150.148763-19-kirill.shutemov@linux.intel.com> <24bebd32-2056-dd5a-8b77-d2a9572dc512@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <24bebd32-2056-dd5a-8b77-d2a9572dc512@infradead.org> Sender: owner-linux-mm@kvack.org To: Randy Dunlap Cc: "Kirill A. Shutemov" , Linus Torvalds , Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , Arnd Bergmann , "H. Peter Anvin" , Andi Kleen , Dave Hansen , Andy Lutomirski , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-Id: linux-arch.vger.kernel.org On Thu, Dec 08, 2016 at 10:56:04AM -0800, Randy Dunlap wrote: > > @@ -23,6 +23,27 @@ ffffffffa0000000 - ffffffffff5fffff (=1526 MB) module mapping space > > ffffffffff600000 - ffffffffffdfffff (=8 MB) vsyscalls > > ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole > > > > +Virtual memory map with 5 level page tables: > > + > > +0000000000000000 - 00ffffffffffffff (=56 bits) user space, different per mm > > +hole caused by [57:63] sign extension > > Can you briefly explain the sign extension? Sure, I'll update it on respin. > Should that be [56:63]? You're right, it should. Thanks for all your corrections. -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f194.google.com ([209.85.210.194]:34500 "EHLO mail-wj0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932404AbcLHTYl (ORCPT ); Thu, 8 Dec 2016 14:24:41 -0500 Received: by mail-wj0-f194.google.com with SMTP id xy5so55825398wjc.1 for ; Thu, 08 Dec 2016 11:24:40 -0800 (PST) Date: Thu, 8 Dec 2016 22:24:37 +0300 From: "Kirill A. Shutemov" Subject: Re: [RFC, PATCHv1 17/28] x86/mm: define virtual memory map for 5-level paging Message-ID: <20161208192437.GC30380@node.shutemov.name> References: <20161208162150.148763-1-kirill.shutemov@linux.intel.com> <20161208162150.148763-19-kirill.shutemov@linux.intel.com> <24bebd32-2056-dd5a-8b77-d2a9572dc512@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24bebd32-2056-dd5a-8b77-d2a9572dc512@infradead.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Randy Dunlap Cc: "Kirill A. Shutemov" , Linus Torvalds , Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , Arnd Bergmann , "H. Peter Anvin" , Andi Kleen , Dave Hansen , Andy Lutomirski , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Message-ID: <20161208192437.9tbo8IOHs5xDLpb_4F8Qm9kG6qOeMspPJTt9rQK0O-4@z> On Thu, Dec 08, 2016 at 10:56:04AM -0800, Randy Dunlap wrote: > > @@ -23,6 +23,27 @@ ffffffffa0000000 - ffffffffff5fffff (=1526 MB) module mapping space > > ffffffffff600000 - ffffffffffdfffff (=8 MB) vsyscalls > > ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole > > > > +Virtual memory map with 5 level page tables: > > + > > +0000000000000000 - 00ffffffffffffff (=56 bits) user space, different per mm > > +hole caused by [57:63] sign extension > > Can you briefly explain the sign extension? Sure, I'll update it on respin. > Should that be [56:63]? You're right, it should. Thanks for all your corrections. -- Kirill A. Shutemov