Skip to content
Permalink
Browse files

[host] add store fence to shm writes as we are using writecombine

  • Loading branch information...
gnif committed Dec 28, 2017
1 parent e09d7f0 commit 59fa025292de3a650512f9232dfb9fb7bfa43a04
Showing with 1 addition and 0 deletions.
  1. +1 −0 host/Service.cpp
@@ -292,6 +292,7 @@ bool Service::Process()
// update the flags
INTERLOCKED_AND8((volatile char *)flags, KVMFR_HEADER_FLAG_RESTART);
INTERLOCKED_OR8 ((volatile char *)flags, updateFlags);
_mm_sfence();

return true;
}

0 comments on commit 59fa025

Please sign in to comment.
You can’t perform that action at this time.