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

From: Huang, Kai
Date: Tue Feb 27 2024 - 06:10:22 EST


On Thu, 2024-02-22 at 10:39 -0800, Dave Hansen wrote:
> From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>
> ---
>

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