> -int put_and_wait_on_page_locked(struct page *page, int state); > +int folio_put_wait_locked(struct folio *folio, int state); This could actually move to mm/internal.h. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> -int put_and_wait_on_page_locked(struct page *page, int state); > +int folio_put_wait_locked(struct folio *folio, int state); This could actually move to mm/internal.h. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>