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)
Sat, May 25, 12:56 AM
Unknown Object (File)
Thu, May 23, 2:45 PM
Unknown Object (File)
Apr 24 2024, 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
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.