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)
Fri, May 24, 6:16 PM
Unknown Object (File)
Tue, May 14, 4:17 PM
Unknown Object (File)
Jan 12 2024, 9:04 AM
Unknown Object (File)
Dec 23 2023, 12:49 AM
Unknown Object (File)
Dec 17 2023, 4:37 PM
Unknown Object (File)
Dec 15 2023, 1:21 AM
Unknown Object (File)
Sep 25 2023, 3:06 PM
Unknown Object (File)
Aug 20 2023, 11:28 PM
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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable