HomeFreeBSD

x86/iommu: Reduce DMAR lock contention

Description

x86/iommu: Reduce DMAR lock contention

Replace the DMAR unit's tlb_flush TAILQ by a custom list implementation
that enables dmar_qi_task() to dequeue entries without holding the DMAR
lock.

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D35951

(cherry picked from commit 42736dc44dd0151546db3f2e145ae1cfd4546fe1)

Details

Provenance
alcAuthored on Jul 26 2022, 6:04 AM
dougmCommitted on Aug 8 2022, 7:07 AM
Reviewer
kib
Differential Revision
D35951: x86/iommu: Reduce DMAR lock contention
Parents
rG5639dde5edc9: x86/iommu: Correct a recent change to iommu_domain_unload_entry()
Branches
Unknown
Tags
Unknown