Address canonical form and pointer arithmetic
The canonical address rules mean there is a giant hole in the 64-bit virtual address space. 2^47-1 is not contiguous with the next valid address above it, so a single mmap won’t include any of the unusable range of 64-bit addresses. +———-+ | 2^64-1 | 0xffffffffffffffff | … | | 2^64-2^47| 0xffff800000000000 +———-+ | | … Read more