HomeFreeBSD

busdma_iommu: Fine-grained locking for the dmamap's map list

Description

busdma_iommu: Fine-grained locking for the dmamap's map list

Introduce fine-grained locking on the dmamap's list of map entries,
replacing the use of the domain lock. This is not the most significant
source of lock contention, but it is the easiest to address.

Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35557

(cherry picked from commit eeb46578c21ad37866f49f3bbb3ac738b44abbf6)

Details

Provenance
alcAuthored on Jun 22 2022, 9:51 PM
dougmCommitted on Jul 6 2022, 5:11 PM
Reviewer
kib
Differential Revision
D35557: busdma_iommu: Introduce fine-grained locking on the dmamap's map list
Parents
rGa408ed1c928a: iommu_gas: Eliminate unnecessary wrappers
Branches
Unknown
Tags
Unknown