mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 11:00:15 -05:00
Reverse the order of the search for a free space in lowermatch, to make it a first-fit search. Iommu_gas_match_one always allocates from the beginning of the free gap discovered from searching the tree, so the current code isn't really allocating in a reverse first-fit anyway, and making the search first-fit reduces the number of iommu page table pages that are used. Reported by: alc Reviewed by: alc, kib MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D35458 |
||
|---|---|---|
| .. | ||
| busdma_iommu.c | ||
| busdma_iommu.h | ||
| iommu.h | ||
| iommu_gas.c | ||
| iommu_gas.h | ||
| iommu_msi.h | ||
| iommu_types.h | ||