lkml.org 
[lkml]   [2017]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH PTI v3 09/10] x86/mm/64: Make a full PGD-entry size hole in the memory map
Whoops.  I'll change that to "(=12800 TB)".

On Wed, Dec 13, 2017 at 5:17 AM, Kirill A. Shutemov
<kirill@shutemov.name> wrote:
> On Tue, Dec 12, 2017 at 07:56:44AM -0800, Andy Lutomirski wrote:
>> This patch shrinks vmalloc space from 16384TiB to 12800TiB to
>> enlarge the hole starting at 0xff90000000000000 to be a full PGD
>> entry.
>>
>> A subsequent patch will use this hole for the pagetable isolation
>> LDT alias.
>>
>> Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
>> Cc: Dave Hansen <dave.hansen@intel.com>
>> Signed-off-by: Andy Lutomirski <luto@kernel.org>
>> ---
>> Documentation/x86/x86_64/mm.txt | 4 ++--
>> arch/x86/include/asm/pgtable_64_types.h | 4 ++--
>> 2 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt
>> index 63a41671d25b..6a28aeaccd53 100644
>> --- a/Documentation/x86/x86_64/mm.txt
>> +++ b/Documentation/x86/x86_64/mm.txt
>> @@ -28,8 +28,8 @@ Virtual memory map with 5 level page tables:
>> hole caused by [56:63] sign extension
>> ff00000000000000 - ff0fffffffffffff (=52 bits) guard hole, reserved for hypervisor
>> ff10000000000000 - ff8fffffffffffff (=55 bits) direct mapping of all phys. memory
>> -ff90000000000000 - ff91ffffffffffff (=49 bits) hole
>> -ff92000000000000 - ffd1ffffffffffff (=54 bits) vmalloc/ioremap space
>> +ff90000000000000 - ff9fffffffffffff (=52 bits) hole
>> +ffa0000000000000 - ffd1ffffffffffff (=54 bits) vmalloc/ioremap space
>
> It's not 54 bits anymore.
>
> --
> Kirill A. Shutemov

\
 
 \ /
  Last update: 2017-12-13 18:05    [W:0.042 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site