diff options
author | Wanpeng Li <wanpeng.li@hotmail.com> | 2017-04-11 12:49:21 +0300 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-04-12 21:17:38 +0300 |
commit | 5a48a622718cbd2d26d449f38ba40a2b5f7212cf (patch) | |
tree | 990d9f540cef822b9fba710169d8a9a6cf035747 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bd8fab39cd4fe429f161dfc86bf64993d5c17320 (diff) | |
download | linux-5a48a622718cbd2d26d449f38ba40a2b5f7212cf.tar.xz |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions