x86, kaslr: Raise the maximum virtual address to -1 GiB on x86_64
authorKees Cook <keescook@chromium.org>
Fri, 11 Oct 2013 00:18:18 +0000 (17:18 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Sun, 13 Oct 2013 10:13:13 +0000 (03:13 -0700)
commit6145cfe394a7f138f6b64491c5663f97dba12450
tree409c39dce2121c84fd1a96102a16e7d69c20285c
parentf32360ef6608434a032dc7ad262d45e9693c27f3
x86, kaslr: Raise the maximum virtual address to -1 GiB on x86_64

On 64-bit, this raises the maximum location to -1 GiB (from -1.5 GiB),
the upper limit currently, since the kernel fixmap page mappings need
to be moved to use the other 1 GiB (which would be the theoretical
limit when building with -mcmodel=kernel).

Signed-off-by: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/1381450698-28710-7-git-send-email-keescook@chromium.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Kconfig
arch/x86/include/asm/page_64_types.h
arch/x86/include/asm/pgtable_64_types.h
arch/x86/mm/init_32.c