memory.rst (e4624435f38b34e7ce827070aa0f8b533a37c07e) memory.rst (6aeadf7896bff4ca230702daba8788455e6b866e)
1==============================
2Memory Layout on AArch64 Linux
3==============================
4
5Author: Catalin Marinas <catalin.marinas@arm.com>
6
7This document describes the virtual memory layout used by the AArch64
8Linux kernel. The architecture allows up to 4 levels of translation

--- 19 unchanged lines hidden (view full) ---

28
29AArch64 Linux memory layout with 4KB pages + 4 levels (48-bit)::
30
31 Start End Size Use
32 -----------------------------------------------------------------------
33 0000000000000000 0000ffffffffffff 256TB user
34 ffff000000000000 ffff7fffffffffff 128TB kernel logical memory map
35 [ffff600000000000 ffff7fffffffffff] 32TB [kasan shadow region]
1==============================
2Memory Layout on AArch64 Linux
3==============================
4
5Author: Catalin Marinas <catalin.marinas@arm.com>
6
7This document describes the virtual memory layout used by the AArch64
8Linux kernel. The architecture allows up to 4 levels of translation

--- 19 unchanged lines hidden (view full) ---

28
29AArch64 Linux memory layout with 4KB pages + 4 levels (48-bit)::
30
31 Start End Size Use
32 -----------------------------------------------------------------------
33 0000000000000000 0000ffffffffffff 256TB user
34 ffff000000000000 ffff7fffffffffff 128TB kernel logical memory map
35 [ffff600000000000 ffff7fffffffffff] 32TB [kasan shadow region]
36 ffff800000000000 ffff800007ffffff 128MB modules
37 ffff800008000000 fffffbffefffffff 124TB vmalloc
36 ffff800000000000 ffff80007fffffff 2GB modules
37 ffff800080000000 fffffbffefffffff 124TB vmalloc
38 fffffbfff0000000 fffffbfffdffffff 224MB fixed mappings (top down)
39 fffffbfffe000000 fffffbfffe7fffff 8MB [guard region]
40 fffffbfffe800000 fffffbffff7fffff 16MB PCI I/O space
41 fffffbffff800000 fffffbffffffffff 8MB [guard region]
42 fffffc0000000000 fffffdffffffffff 2TB vmemmap
43 fffffe0000000000 ffffffffffffffff 2TB [guard region]
44
45
46AArch64 Linux memory layout with 64KB pages + 3 levels (52-bit with HW support)::
47
48 Start End Size Use
49 -----------------------------------------------------------------------
50 0000000000000000 000fffffffffffff 4PB user
51 fff0000000000000 ffff7fffffffffff ~4PB kernel logical memory map
52 [fffd800000000000 ffff7fffffffffff] 512TB [kasan shadow region]
38 fffffbfff0000000 fffffbfffdffffff 224MB fixed mappings (top down)
39 fffffbfffe000000 fffffbfffe7fffff 8MB [guard region]
40 fffffbfffe800000 fffffbffff7fffff 16MB PCI I/O space
41 fffffbffff800000 fffffbffffffffff 8MB [guard region]
42 fffffc0000000000 fffffdffffffffff 2TB vmemmap
43 fffffe0000000000 ffffffffffffffff 2TB [guard region]
44
45
46AArch64 Linux memory layout with 64KB pages + 3 levels (52-bit with HW support)::
47
48 Start End Size Use
49 -----------------------------------------------------------------------
50 0000000000000000 000fffffffffffff 4PB user
51 fff0000000000000 ffff7fffffffffff ~4PB kernel logical memory map
52 [fffd800000000000 ffff7fffffffffff] 512TB [kasan shadow region]
53 ffff800000000000 ffff800007ffffff 128MB modules
54 ffff800008000000 fffffbffefffffff 124TB vmalloc
53 ffff800000000000 ffff80007fffffff 2GB modules
54 ffff800080000000 fffffbffefffffff 124TB vmalloc
55 fffffbfff0000000 fffffbfffdffffff 224MB fixed mappings (top down)
56 fffffbfffe000000 fffffbfffe7fffff 8MB [guard region]
57 fffffbfffe800000 fffffbffff7fffff 16MB PCI I/O space
58 fffffbffff800000 fffffbffffffffff 8MB [guard region]
59 fffffc0000000000 ffffffdfffffffff ~4TB vmemmap
60 ffffffe000000000 ffffffffffffffff 128GB [guard region]
61
62

--- 105 unchanged lines hidden ---
55 fffffbfff0000000 fffffbfffdffffff 224MB fixed mappings (top down)
56 fffffbfffe000000 fffffbfffe7fffff 8MB [guard region]
57 fffffbfffe800000 fffffbffff7fffff 16MB PCI I/O space
58 fffffbffff800000 fffffbffffffffff 8MB [guard region]
59 fffffc0000000000 ffffffdfffffffff ~4TB vmemmap
60 ffffffe000000000 ffffffffffffffff 128GB [guard region]
61
62

--- 105 unchanged lines hidden ---