commit | c8d3877e48c4f57381d72eaf8d016bff12ce2d7c | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Feb 16 10:04:18 2018 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 12 16:12:47 2018 +0100 |
tree | 204fd1c6da69bdfab70ac5e25007c67195d3e78f | |
parent | 77a8b8462b02a10aea5cad389a8f9260f79ede36 [diff] |
membarrier: introduce qemu/sys_membarrier.h This new header file provides heavy-weight "global" memory barriers that enforce memory ordering on each running thread belonging to the current process. For now, use a dummy implementation that issues memory barriers on both sides (matching what QEMU has been doing so far). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>