Skip to main content

USER_SPACE_END

Constant USER_SPACE_END 

Source
const USER_SPACE_END: u64 = 0x0000_8000_0000_0000;
Expand description

End of user-accessible virtual address space.

On x86_64 with 4-level paging, canonical user addresses are 0x0000_0000_0000_0000 ..= 0x0000_7FFF_FFFF_FFFF. Anything at or above this boundary is kernel space.