Linux x86_64 memory address space

Source: Internet
Author: User

/Documentation/x86/x86_64/mm.txt

<Previous description obsolete, deleted>

Virtual Memory Map with 4 level page tables:

0000000000000000-00007 fffffffff (= 47 bits) user space, different per mm
Hole caused by [48: 63] sign extension
Ffff800000000000-ffff80ffffffff (= 40 BITs) Guard hole
Ffff880000000000-ffffc7ffffffff (= 64 TB) Direct mapping of all Phys. Memory
Ffffc80000000000-ffffc8ffffffff (= 40 BITs) Hole
Ffffc90000000000-ffffe8ffffffff (= 45 bits) vmalloc/ioremap Space
Ffffe90000000000-ffffe9ffffffffff (= 40 BITs) Hole
Ffffea0000000000-ffffeaffffffffff (= 40 BITs) virtual memory map (1 Tb)
... Unused hole...
Ffffffff80000000-ffffffa0000000 (= 512 MB) kernel text mapping, from phys 0
Ffffffffa0000000-fffffffffff00000 (= 1536 MB) module mapping Space

The Direct mapping covers all memory in the system up to the highest
Memory Address (this means in some cases it can also include PCI memory
Holes ).

Vmalloc space is lazily synchronized into the different pml4 pages
The processes using the Page Fault Handler, with init_level4_pgt
Reference.

Current X86-64 implementations only support 40 bits of address space,
But we support up to 46 bits. This expands into mbz space in the page tables.

-Andi Kleen, Jul 2004

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.