Re: [PATCH RESEND v2 3/4] iommu/riscv: Introduce IOMMU page table lock
From: Jason Gunthorpe
Date: Tue Apr 01 2025 - 11:20:00 EST
On Tue, Mar 18, 2025 at 11:59:29AM +0800, Xu Lu wrote:
> Introduce page table lock to address competition issues when modifying
> multiple PTEs, for example, when applying Svnapot. We use fine-grained
> page table locks to minimize lock contention.
This does not seem right, there is no need for locks to manage a cont
bit on the iommu side.
Jason