HomeFreeBSD

iommu_gas: consolidate find_space helpers

Description

iommu_gas: consolidate find_space helpers

Merge lowermatch and uppermatch into find_space. Eliminate uppermatch
recursion. Merge match_insert into match_one and eliminate some
redundant calculation. Move some initialization out of find_space and
into map (and out from under a lock).

Reviewed by: kib (previous version), alc
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D35440

Details

Provenance
dougmAuthored on Jul 10 2022, 7:24 PM
Reviewer
kib
Differential Revision
D35440: iommu_gas: simplify match_one, merge insert into it, drop uppermatch
Parents
rG50fa27e795ea: netinet6: fix interface handling for loopback traffic
Branches
Unknown
Tags
Unknown