Re: [PATCH v1 2/9] iommu/arm-smmu-v3: Add alloc_id/free_id functions to arm_smmu_invs
From: Jason Gunthorpe
Date: Fri Jan 02 2026 - 10:54:28 EST
On Fri, Dec 19, 2025 at 12:56:17PM -0800, Nicolin Chen wrote:
> Again, my intention is to avoid iterating the array since merge
> and unref functions are already doing that in their first loops.
It is not a performance path, and double iterating like this is much
easier to implement with clearer error flows.
Jason