Re: [PATCH 08/17] gup: Add try_grab_folio()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 02, 2022 at 09:57:20PM +0000, Matthew Wilcox (Oracle) wrote:
>  /**
> - * try_grab_compound_head() - attempt to elevate a page's refcount, by a
> + * try_grab_folio() - attempt to elevate a page's refcount, by a

s/page/folio/ ?

> - *
>   * @page:  pointer to page to be grabbed

and here something about page inside a folio?

Otherwise this looks fine, but I wonder if it would make more sense
to already introduce try_grab_folio earlier when you convert
try_grab_compound_head to use folios internally.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux