diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-12-12 10:56:43 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-12-22 14:13:02 -0500 |
commit | 5a7ccf4754fb3660569a6de52ba7f7fc3dfaf280 (patch) | |
tree | 83bc6f35bae69aca65f2095a25aba07d2341ab2f | |
parent | a4828f81037f491b2cc986595e3a969a6eeb2fb5 (diff) |
x86/mm/64: Improve the memory map documentation
The old docs had the vsyscall range wrong and were missing the fixmap.
Fix both.
There used to be 8 MB reserved for future vsyscalls, but that's long gone.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Laight <David.Laight@aculab.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | Documentation/x86/x86_64/mm.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index 3448e675b462..83ca5a3b90ac 100644 --- a/Documentation/x86/x86_64/mm.txt +++ b/Documentation/x86/x86_64/mm.txt | |||
@@ -19,8 +19,9 @@ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks | |||
19 | ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space | 19 | ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space |
20 | ... unused hole ... | 20 | ... unused hole ... |
21 | ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0 | 21 | ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0 |
22 | ffffffffa0000000 - ffffffffff5fffff (=1526 MB) module mapping space (variable) | 22 | ffffffffa0000000 - [fixmap start] (~1526 MB) module mapping space (variable) |
23 | ffffffffff600000 - ffffffffffdfffff (=8 MB) vsyscalls | 23 | [fixmap start] - ffffffffff5fffff kernel-internal fixmap range |
24 | ffffffffff600000 - ffffffffff600fff (=4 kB) legacy vsyscall ABI | ||
24 | ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole | 25 | ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole |
25 | 26 | ||
26 | Virtual memory map with 5 level page tables: | 27 | Virtual memory map with 5 level page tables: |
@@ -41,8 +42,9 @@ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks | |||
41 | ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space | 42 | ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space |
42 | ... unused hole ... | 43 | ... unused hole ... |
43 | ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0 | 44 | ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0 |
44 | ffffffffa0000000 - ffffffffff5fffff (=1526 MB) module mapping space | 45 | ffffffffa0000000 - [fixmap start] (~1526 MB) module mapping space |
45 | ffffffffff600000 - ffffffffffdfffff (=8 MB) vsyscalls | 46 | [fixmap start] - ffffffffff5fffff kernel-internal fixmap range |
47 | ffffffffff600000 - ffffffffff600fff (=4 kB) legacy vsyscall ABI | ||
46 | ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole | 48 | ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole |
47 | 49 | ||
48 | Architecture defines a 64-bit virtual address. Implementations can support | 50 | Architecture defines a 64-bit virtual address. Implementations can support |