~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/arch/s390/mm.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 .. SPDX-License-Identifier: GPL-2.0
  2 
  3 =================
  4 Memory Management
  5 =================
  6 
  7 Virtual memory layout
  8 =====================
  9 
 10 .. note::
 11 
 12  - Some aspects of the virtual memory layout setup are not
 13    clarified (number of page levels, alignment, DMA memory).
 14 
 15  - Unused gaps in the virtual memory layout could be present
 16    or not - depending on how partucular system is configured.
 17    No page tables are created for the unused gaps.
 18 
 19  - The virtual memory regions are tracked or untracked by KASAN
 20    instrumentation, as well as the KASAN shadow memory itself is
 21    created only when CONFIG_KASAN configuration option is enabled.
 22 
 23 ::
 24 
 25   =============================================================================
 26   |    Physical      |    Virtual       | VM area description
 27   =============================================================================
 28   +- 0 --------------+- 0 --------------+
 29   |                  | S390_lowcore     | Low-address memory
 30   |                  +- 8 KB -----------+
 31   |                  |                  |
 32   |                  |                  |
 33   |                  | ... unused gap   | KASAN untracked
 34   |                  |                  |
 35   +- AMODE31_START --+- AMODE31_START --+ .amode31 rand. phys/virt start
 36   |.amode31 text/data|.amode31 text/data| KASAN untracked
 37   +- AMODE31_END ----+- AMODE31_END ----+ .amode31 rand. phys/virt end (<2GB)
 38   |                  |                  |
 39   |                  |                  |
 40   +- __kaslr_offset_phys                | kernel rand. phys start
 41   |                  |                  |
 42   | kernel text/data |                  |
 43   |                  |                  |
 44   +------------------+                  | kernel phys end
 45   |                  |                  |
 46   |                  |                  |
 47   |                  |                  |
 48   |                  |                  |
 49   +- ident_map_size -+                  |
 50                      |                  |
 51                      |  ... unused gap  | KASAN untracked
 52                      |                  |
 53                      +- __identity_base + identity mapping start (>= 2GB)
 54                      |                  |
 55                      | identity         | phys == virt - __identity_base
 56                      | mapping          | virt == phys + __identity_base
 57                      |                  |
 58                      |                  | KASAN tracked
 59                      |                  |
 60                      |                  |
 61                      |                  |
 62                      |                  |
 63                      |                  |
 64                      |                  |
 65                      |                  |
 66                      |                  |
 67                      |                  |
 68                      |                  |
 69                      |                  |
 70                      |                  |
 71                      |                  |
 72                      |                  |
 73                      |                  |
 74                      +---- vmemmap -----+ 'struct page' array start
 75                      |                  |
 76                      | virtually mapped |
 77                      | memory map       | KASAN untracked
 78                      |                  |
 79                      +- __abs_lowcore --+
 80                      |                  |
 81                      | Absolute Lowcore | KASAN untracked
 82                      |                  |
 83                      +- __memcpy_real_area
 84                      |                  |
 85                      |  Real Memory Copy| KASAN untracked
 86                      |                  |
 87                      +- VMALLOC_START --+ vmalloc area start
 88                      |                  | KASAN untracked or
 89                      |  vmalloc area    | KASAN shallowly populated in case
 90                      |                  |       CONFIG_KASAN_VMALLOC=y
 91                      +- MODULES_VADDR --+ modules area start
 92                      |                  | KASAN allocated per module or
 93                      |  modules area    | KASAN shallowly populated in case
 94                      |                  |       CONFIG_KASAN_VMALLOC=y
 95                      +- __kaslr_offset -+ kernel rand. virt start
 96                      |                  | KASAN tracked
 97                      | kernel text/data | phys == (kvirt - __kaslr_offset) +
 98                      |                  |         __kaslr_offset_phys
 99                      +- kernel .bss end + kernel rand. virt end
100                      |                  |
101                      |  ... unused gap  | KASAN untracked
102                      |                  |
103                      +------------------+ UltraVisor Secure Storage limit
104                      |                  |
105                      |  ... unused gap  | KASAN untracked
106                      |                  |
107                      +KASAN_SHADOW_START+ KASAN shadow memory start
108                      |                  |
109                      |   KASAN shadow   | KASAN untracked
110                      |                  |
111                      +------------------+ ASCE limit

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php