Re: [PATCH v2 0/2] iommufd: remove the last use of set_page_dirty_lock()

From: Jason Gunthorpe

Date: Thu Nov 19 2026 - 10:47:57 EST



On Fri, 06 Nov 2026 14:01:18 -0500, Tal Zussman wrote:
> iommufd: remove the last use of set_page_dirty_lock()
>
> batch_rw() copies to and from pinned user pages one page at a time and
> dirties each with set_page_dirty_lock(). The second patch walks the pfn
> batch a folio at a time with memcpy_to_folio() and memcpy_from_folio()
> and marks each folio dirty once. It removes the last use of
> set_page_dirty_lock() in iommufd.
>
> [...]

Applied, thanks!

[1/2] iommu: allocate the fwspec before dev->iommu in iommu_fwspec_init()
https://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git/commit/?id=e2fbca3a6d506e1c9eff9a26293f87a085134854
[2/2] iommufd: copy to and from folios in batch_rw()
https://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git/commit/?id=db7d2cf9e46c9ec334d9629482d9a6a65672fb69

Best regards,
--
Jason