Re: [RFC][PATCH 07/34] x86/mm: Introduce virtual address space limit helper

Huang, Kai
2024-02-27T11:09:43Z

On Thu, 2024-02-22 at 10:39 -0800, Dave Hansen wrote:
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> This uses the same logic and approach which were used for the physical
> address limits with x86_phys_bits() and extends them to the virtual
> address space.
>
> Introduce a system-wide helper for users to query the size of the
> virtual address space: x86_virt_bits()
>
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
> ---
>

Reviewed-by: Kai Huang <kai.huang@intel.com>