Page MenuHomeFreeBSD

xen/intr: hand off closing of ports sooner
Needs ReviewPublic

Authored by ehem_freebsd_m5p.com on Jul 30 2021, 2:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 6:55 AM
Unknown Object (File)
Nov 19 2024, 10:27 AM
Unknown Object (File)
Nov 17 2024, 7:27 AM
Unknown Object (File)
Nov 15 2024, 9:02 AM
Unknown Object (File)
Nov 15 2024, 8:58 AM
Unknown Object (File)
Nov 15 2024, 8:48 AM
Unknown Object (File)
Nov 15 2024, 7:32 AM
Unknown Object (File)
Nov 15 2024, 5:31 AM
Subscribers

Details

Reviewers
royger
Summary

Since xi_close now comes along for the ride, move some cases of closing
the port on failure into xen_intr_bind_isrc().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47797
Build 44684: arc lint + arc unit

Event Timeline

Simply exploring some of the potential effects of D31188. Alas moving other close needed instances in is rather more difficult.

Updating this in light of other patches having been updated.

This appears to potentially benefit from D32876 as it means there is no longer a need to use xen_intr_unbind(). There is even more potential for merging things down, but this needs to be done with care. Alas, this doesn't appear to benefit my main goal.

Finally figured out how to do this, D33622/D33623/D33624 are how. Some functions were using xen_intr_unbind() since they needed the handler removed before calling xen_intr_release_isrc(), D33622 addresses the issue. Then simply cleaning things up.

Updating to present tree status. Like the others in this sequence, suddenly a distinct approach has a massive impact.