Page MenuHomeFreeBSD

hyperv/vmbus: Simplify event processing
ClosedPublic

Authored by sepherosa_gmail.com on May 12 2016, 8:07 AM.
Tags
None
Referenced Files
F84814756: D6333.diff
Tue, May 28, 10:54 PM
Unknown Object (File)
Apr 26 2024, 12:58 AM
Unknown Object (File)
Apr 26 2024, 12:58 AM
Unknown Object (File)
Apr 26 2024, 12:32 AM
Unknown Object (File)
Apr 26 2024, 12:32 AM
Unknown Object (File)
Apr 23 2024, 7:02 PM
Unknown Object (File)
Feb 22 2024, 8:11 PM
Unknown Object (File)
Feb 18 2024, 8:31 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

Lint
Lint Skipped
Unit
Tests Skipped

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

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

This revision was automatically updated to reflect the committed changes.