Page MenuHomeFreeBSD

iommu_gas: don't remove and reinsert boundary entry
ClosedPublic

Authored by dougm on Sep 16 2022, 7:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 5:45 AM
Unknown Object (File)
Sep 23 2024, 8:26 PM
Unknown Object (File)
Sep 23 2024, 8:16 PM
Unknown Object (File)
Sep 23 2024, 6:37 PM
Unknown Object (File)
Sep 23 2024, 1:20 PM
Unknown Object (File)
Sep 18 2024, 7:08 AM
Unknown Object (File)
Sep 8 2024, 9:28 PM
Unknown Object (File)
Sep 5 2024, 7:39 AM
Subscribers

Details

Summary

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.

This is the only use I find of either first_place or last_place data, so it could be written using prev and next instead. This version saves time in calls to iommu_gas_free_region, while removing those fields would save space. I could go either way.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped