diff options
author | Wanpeng Li <wanpeng.li@hotmail.com> | 2017-04-11 02:49:21 -0700 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-04-12 20:17:38 +0200 |
commit | 5a48a622718cbd2d26d449f38ba40a2b5f7212cf (patch) | |
tree | 990d9f540cef822b9fba710169d8a9a6cf035747 /tools/perf/scripts/python/export-to-postgresql.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 <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions