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

2024-03-08 Thread Jason Gunthorpe
On Wed, Mar 06, 2024 at 06:41:47PM +0800, pet...@redhat.com wrote: > From: Peter Xu > > 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

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

2024-03-06 Thread peterx
From: Peter Xu 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 --- include/linux/pgtable.h |