Re: [PATCH] drm/i915/userptr: Convert page APIs to folio equivalents in put_pages
From: Hongfu Li
Date: Thu Oct 29 2026 - 23:06:39 EST
On 10/29/26 9:46 PM, Tal Zussman wrote:
On Thu, Jul 23, 2026 at 02:46:51PM +0800, Hongfu Li wrote:
From: Hongfu Li <lihongfu@xxxxxxxxxx>Hi,
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>
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.
Hi Tal,
You are right, this one never got picked up. I have not received any
review comments on it. It is not abandoned on my side, and if there is
anything that needs fixing, I am happy to send a v2.
Thanks,
Tal
--
Best regards,
Hongfu