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)
Thu, Oct 9, 12:33 AM
Unknown Object (File)
Sep 14 2025, 12:01 AM
Unknown Object (File)
Sep 13 2025, 7:47 AM
Unknown Object (File)
Sep 13 2025, 4:46 AM
Unknown Object (File)
Sep 11 2025, 7:29 PM
Unknown Object (File)
Sep 6 2025, 2:51 PM
Unknown Object (File)
Aug 15 2025, 12:03 AM
Unknown Object (File)
Aug 1 2025, 10:33 PM
Subscribers
None

Details

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

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: 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 โ†—(On Diff #17085)

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 โ†—(On Diff #17085)

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.