Re: [PATCH RFC 13/13] mm: Document pXd_leaf() API

From: Jason Gunthorpe
Date: Fri Mar 08 2024 - 10:21:09 EST


On Wed, Mar 06, 2024 at 06:41:47PM +0800, peterx@xxxxxxxxxx wrote:
> From: Peter Xu <peterx@xxxxxxxxxx>
>
> There's one small section already, but since we're going to remove
> pXd_huge(), that comment may start to obsolete.
>
> Rewrite that section with more information, hopefully with that the API is
> crystal clear on what it implies.
>
> Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
> ---
> include/linux/pgtable.h | 24 +++++++++++++++++++-----
> 1 file changed, 19 insertions(+), 5 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason