Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131621197
D5436.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
658 B
Referenced Files
None
Subscribers
None
D5436.diff
View Options
Index: head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
===================================================================
--- head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
+++ head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
@@ -117,7 +117,7 @@
* not deliver any more messages
* since there is no empty slot
*/
- wmb();
+ atomic_thread_fence_seq_cst();
if (msg->header.message_flags.u.message_pending) {
/*
@@ -187,7 +187,7 @@
* not deliver any more messages
* since there is no empty slot
*/
- wmb();
+ atomic_thread_fence_seq_cst();
if (msg->header.message_flags.u.message_pending) {
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 10, 7:58 PM (8 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23544509
Default Alt Text
D5436.diff (658 B)
Attached To
Mode
D5436: hyperv: Use mfence to make sure about the store-load order for msgs
Attached
Detach File
Event Timeline
Log In to Comment