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)
Oct 7 2024, 8:42 AM
Unknown Object (File)
Oct 4 2024, 7:49 AM
Unknown Object (File)
Oct 3 2024, 8:01 PM
Unknown Object (File)
Oct 3 2024, 5:10 AM
Unknown Object (File)
Oct 1 2024, 4:45 AM
Unknown Object (File)
Sep 29 2024, 7:16 PM
Unknown Object (File)
Sep 29 2024, 7:15 PM
Unknown Object (File)
Sep 29 2024, 7:10 PM
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.