From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 249AD606A31C for ; Fri, 30 Oct 2026 03:12:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=Y2YW45FW Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 93EDD112624; Fri, 30 Oct 2026 03:12:39 +0000 (UTC) X-Greylist: delayed 302 seconds by postgrey-1.36 at gabe; Fri, 30 Oct 2026 03:12:33 UTC Received: from mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) by gabe.freedesktop.org (Postfix) with ESMTPS id EE7DD112624 for ; Fri, 30 Oct 2026 03:12:33 +0000 (UTC) X-Envelope-To: dri-devel@lists.freedesktop.org DKIM-Signature: a=rsa-sha256; bh=fPuMcO8hnNdMFZooU0iT/ErKR35zBd41Ik7MWnF3abI=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1793329952; v=1; x=1793934752; b=Y2YW45FW7VTXOAoTvj9p9zj6SoMgw5OC0DXtd4KVk9TAP3z/I0mj2HKObtFDpZk1RiY8QkmU 98oPcgstSA+IixtIHm6oogkpX6+sWq7uy85wNcK3swVR/iWofjSD1T1FY21ZNxIgNMlTdx4em3j gxbYmlZRBNcukX9y4niiRAYE= X-Envelope-To: dri-devel@lists.freedesktop.org Received: by smtp.migadu.com with ESMTPS id c5737e2daac96571; Fri, 30 Oct 2026 03:06:26 +0000 X-Mizu-Trace-ID: c5737e2daac96571 X-Migadu-Flow: FLOW_OUT Message-ID: Date: Fri, 30 Oct 2026 11:06:17 +0800 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: hongfu.li@linux.dev, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, tursulin@ursulin.net, airlied@gmail.com, simona@ffwll.ch, kees@kernel.org, tzimmermann@suse.de, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/i915/userptr: Convert page APIs to folio equivalents in put_pages To: Tal Zussman , Hongfu Li References: <20260723064651.4100-1-hongfu.li@linux.dev> <20261029134605.882933-1-tz2294@columbia.edu> From: Hongfu Li In-Reply-To: <20261029134605.882933-1-tz2294@columbia.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "dri-devel" X-Spam-Status: No, score=-10.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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 >> >> 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 > 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. 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