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)
Fri, Apr 26, 12:58 AM
Unknown Object (File)
Fri, Apr 26, 12:58 AM
Unknown Object (File)
Fri, Apr 26, 12:32 AM
Unknown Object (File)
Fri, Apr 26, 12:32 AM
Unknown Object (File)
Tue, Apr 23, 7:02 PM
Unknown Object (File)
Feb 22 2024, 8:11 PM
Unknown Object (File)
Feb 18 2024, 8:31 AM
Unknown Object (File)
Feb 15 2024, 4:56 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.