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
F102641070: D31355.diff
Fri, Nov 15, 5:31 AM
Unknown Object (File)
Mon, Nov 4, 8:28 PM
Unknown Object (File)
Thu, Oct 31, 2:33 PM
Unknown Object (File)
Wed, Oct 16, 1:26 PM
Unknown Object (File)
Wed, Oct 16, 1:03 PM
Unknown Object (File)
Wed, Oct 16, 12:59 PM
Unknown Object (File)
Oct 4 2024, 5:17 AM
Unknown Object (File)
Oct 3 2024, 8:10 PM
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.