mm.txt 1.1 KB

12345678910111213141516171819202122232425262728
  1. <previous description obsolete, deleted>
  2. Virtual memory map with 4 level page tables:
  3. 0000000000000000 - 00007fffffffffff (=47bits) user space, different per mm
  4. hole caused by [48:63] sign extension
  5. ffff800000000000 - ffff80ffffffffff (=40bits) guard hole
  6. ffff810000000000 - ffffc0ffffffffff (=46bits) direct mapping of all phys. memory
  7. ffffc10000000000 - ffffc1ffffffffff (=40bits) hole
  8. ffffc20000000000 - ffffe1ffffffffff (=45bits) vmalloc/ioremap space
  9. ... unused hole ...
  10. ffffffff80000000 - ffffffff82800000 (=40MB) kernel text mapping, from phys 0
  11. ... unused hole ...
  12. ffffffff88000000 - fffffffffff00000 (=1919MB) module mapping space
  13. The direct mapping covers all memory in the system upto the highest
  14. memory address (this means in some cases it can also include PCI memory
  15. holes)
  16. vmalloc space is lazily synchronized into the different PML4 pages of
  17. the processes using the page fault handler, with init_level4_pgt as
  18. reference.
  19. Current X86-64 implementations only support 40 bit of address space,
  20. but we support upto 46bits. This expands into MBZ space in the page tables.
  21. -Andi Kleen, Jul 2004