Page MenuHomeFreeBSD

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

Authored by on Jul 30 2021, 2:27 AM.
Referenced Files
Unknown Object (File)
Wed, May 10, 1:58 PM
Unknown Object (File)
Mon, May 8, 4:58 AM
Unknown Object (File)
Mar 11 2023, 6:40 AM
Unknown Object (File)
Mar 6 2023, 3:47 AM
Unknown Object (File)
Feb 15 2023, 9:47 PM
Unknown Object (File)
Feb 8 2023, 12:24 AM
Unknown Object (File)
Jan 8 2023, 3:27 PM
Unknown Object (File)
Jan 5 2023, 12:15 PM



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

rG FreeBSD src repository
Lint Passed
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.