Page MenuHomeFreeBSD

hyperv/vmbus: Simplify event processing
ClosedPublic

Authored by sepherosa_gmail.com on May 12 2016, 8:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 6 2025, 3:38 PM
Unknown Object (File)
Feb 26 2025, 6:39 AM
Unknown Object (File)
Feb 26 2025, 2:27 AM
Unknown Object (File)
Feb 25 2025, 4:47 PM
Unknown Object (File)
Feb 25 2025, 2:04 PM
Unknown Object (File)
Feb 21 2025, 2:44 PM
Unknown Object (File)
Jan 25 2025, 4:22 PM
Unknown Object (File)
Jan 25 2025, 6:33 AM
Subscribers
None

Details

Summary

For channel0, it will never be processed on event handling path, so there is no need to install it. After skipping in the channel0 installation, we could discard the channel0 check on event handling hot code path.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/vmbus: Simplify event processing.
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
sys/dev/hyperv/vmbus/hv_connection.c
342 ↗(On Diff #16243)

dword is not changed in the inner loop. you can optimize this as well.

This revision was automatically updated to reflect the committed changes.