Re: [RFC PATCH 0/6] Add support for shared PTEs across processes

From: Dave Hansen
Date: Tue Jan 18 2022 - 16:41:48 EST


On 1/18/22 1:19 PM, Khalid Aziz wrote:
> - Starting address must be aligned to pgdir size (512GB on x86_64)

How does this work on systems with 5-level paging where a top-level page
table entry covers 256TB? Is the alignment requirement 512GB or 256TB?
How does userspace figure out which alignment requirement it is subject to?