Page MenuHomeFreeBSD

hyperv/vmbus: Redefine SynIC message.
ClosedPublic

Authored by sepherosa_gmail.com on May 30 2016, 1:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 9:25 PM
Unknown Object (File)
Feb 25 2024, 12:28 AM
Unknown Object (File)
Feb 22 2024, 2:03 PM
Unknown Object (File)
Dec 20 2023, 1:24 AM
Unknown Object (File)
Nov 16 2023, 5:33 AM
Unknown Object (File)
Nov 14 2023, 5:42 AM
Unknown Object (File)
Nov 13 2023, 12:24 PM
Unknown Object (File)
Nov 10 2023, 2:22 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.