]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: Map cpu_entry_area at the same place on 4/5 level
authorThomas Gleixner <tglx@linutronix.de>
Thu, 4 Jan 2018 12:01:40 +0000 (13:01 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 4 Jan 2018 22:04:57 +0000 (23:04 +0100)
commit1e0f38f81169838e6b042cdac585a91bd9a28201
tree3e0cb3a579766be68d3ea9d8309b5b36a1f2c9d8
parent128fa4b017cd1abec6339e4903eed2bc267a78cb
x86/mm: Map cpu_entry_area at the same place on 4/5 level

There is no reason for 4 and 5 level pagetables to have a different
layout. It just makes determining vaddr_end for KASLR harder than
necessary.

Fixes: e5b3723bb96e ("x86/cpu_entry_area: Move it out of the fixmap")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Benjamin Gilbert <benjamin.gilbert@coreos.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable <stable@vger.kernel.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Garnier <thgarnie@google.com>,
Cc: Alexander Kuleshov <kuleshovmail@gmail.com>
Link: https://lkml.kernel.org/r/alpine.DEB.2.20.1801041320360.1771@nanos
Documentation/x86/x86_64/mm.txt
arch/x86/include/asm/pgtable_64_types.h
arch/x86/mm/dump_pagetables.c