HomeFreeBSD

iommu_gas: don't remove and insert boundary entry

Description

iommu_gas: don't remove and insert boundary entry

Avoid removing an item in iommu_gas_free_region only to reinsert it,
by avoiding removing an entry that is either first_place or
last_place.

Reviewed by: kib
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D36597

(cherry picked from commit 87cd087a4ae7b272986ce3bcf27ffe4930f15e55)

Details

Provenance
dougmAuthored on Sep 16 2022, 8:32 PM
Reviewer
kib
Differential Revision
D36597: iommu_gas: don't remove and reinsert boundary entry
Parents
rG29d2aa149562: Add mbuf_tstmp2timeval()
Branches
Unknown
Tags
Unknown