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

Jason Gunthorpe
2024-03-08T15:20:59Z

On Wed, Mar 06, 2024 at 06:41:47PM +0800, peterx@redhat.com wrote:
> From: Peter Xu <peterx@redhat.com>
>
> 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@redhat.com>
> ---
> include/linux/pgtable.h | 24 +++++++++++++++++++-----
> 1 file changed, 19 insertions(+), 5 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason