diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2015-07-29 11:06:34 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-07-29 14:27:23 +0200 |
| commit | c847fe8895fded71d0b9a0ba58d3828320fd1824 (patch) | |
| tree | 8a2e5f7f5cf0300c3cea056c782884cfae72bde0 /tools/perf/scripts/python | |
| parent | KVM: move code related to KVM_SET_BOOT_CPU_ID to x86 (diff) | |
| download | linux-c847fe8895fded71d0b9a0ba58d3828320fd1824.tar.gz linux-c847fe8895fded71d0b9a0ba58d3828320fd1824.zip | |
KVM: x86: remove unnecessary memory barriers for shared MSRs
There is no smp_rmb matching the smp_wmb. shared_msr_update is called from
hardware_enable, which in turn is called via on_each_cpu. on_each_cpu
and must imply a read memory barrier (on x86 the rmb is achieved simply
through asm volatile in native_apic_mem_write).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
