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
F96062467: D36597.id.diff
Mon, Sep 23, 1:20 PM
Unknown Object (File)
Wed, Sep 18, 7:08 AM
Unknown Object (File)
Sun, Sep 8, 9:28 PM
Unknown Object (File)
Thu, Sep 5, 7:39 AM
Unknown Object (File)
Sat, Aug 31, 9:44 PM
Unknown Object (File)
Sat, Aug 31, 5:30 PM
Unknown Object (File)
Jul 26 2024, 1:28 PM
Unknown Object (File)
Jul 26 2024, 3:47 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