Re: [PATCH] drm/i915/userptr: Convert page APIs to folio equivalents in put_pages

From: Tal Zussman

Date: Thu Oct 29 2026 - 09:53:24 EST


On Thu, Jul 23, 2026 at 02:46:51PM +0800, Hongfu Li wrote:
> From: Hongfu Li <lihongfu@xxxxxxxxxx>
>
> Cache the folio with page_folio() at the start of the sg_table loop,
> then use folio helpers directly to eliminate repeated compound_head()
> lookups inside page API wrappers.
>
> Signed-off-by: Hongfu Li <lihongfu@xxxxxxxxxx>

Hi,

Is there any update on picking this up? It would be great to get this
in, as it removes the last user of trylock_page() in the tree.

Thanks,
Tal