Page MenuHomeFreeBSD

hyperv/vmbus: Redefine SynIC message.
ClosedPublic

Authored by sepherosa_gmail.com on May 30 2016, 1:39 AM.
Tags
None
Referenced Files
F137808305: D6636.diff
Wed, Nov 26, 12:27 AM
Unknown Object (File)
Fri, Nov 21, 3:09 AM
Unknown Object (File)
Fri, Nov 21, 3:04 AM
Unknown Object (File)
Fri, Nov 21, 3:03 AM
Unknown Object (File)
Fri, Nov 21, 3:01 AM
Unknown Object (File)
Thu, Nov 20, 5:34 AM
Unknown Object (File)
Mon, Nov 10, 2:50 PM
Unknown Object (File)
Sat, Nov 8, 2:49 PM
Subscribers
None

Details

Summary
  • Avoid unnecessary indirection.
  • Avoid bit fields.
  • Use __packed.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/vmbus: Redefine SynIC message..
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
131

volatile is not needed here since msg pointer will not change out of this context.

sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
131

It will be updated by the host, so we need to make sure that compiler don't over-optimize the msg accessing.

This revision was automatically updated to reflect the committed changes.