From: Paolo Bonzini Date: Wed, 29 Jul 2015 09:06:34 +0000 (+0200) Subject: KVM: x86: remove unnecessary memory barriers for shared MSRs X-Git-Tag: omap-for-v4.3/fixes-merge-window~47^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c847fe8895fded71d0b9a0ba58d3828320fd1824;p=pandora-kernel.git 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 --- Reading git-diff-tree failed