diff options
author | Wanpeng Li <[email protected]> | 2017-04-11 02:49:21 -0700 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2017-04-12 20:17:38 +0200 |
commit | 5a48a622718cbd2d26d449f38ba40a2b5f7212cf (patch) | |
tree | 990d9f540cef822b9fba710169d8a9a6cf035747 /scripts/gdb/linux/proc.py | |
parent | bd8fab39cd4fe429f161dfc86bf64993d5c17320 (diff) |
x86/kvm: virt_xxx memory barriers instead of mandatory barriers
virt_xxx memory barriers are implemented trivially using the low-level
__smp_xxx macros, __smp_xxx is equal to a compiler barrier for strong
TSO memory model, however, mandatory barriers will unconditional add
memory barriers, this patch replaces the rmb() in kvm_steal_clock() by
virt_rmb().
Cc: Paolo Bonzini <[email protected]>
Cc: Radim Krčmář <[email protected]>
Signed-off-by: Wanpeng Li <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions