Re: [PATCH 4/4] KVM: x86: clean/fix memory barriers in irqchip_in_kernel

From: Paolo Bonzini
Date: Thu Jul 30 2015 - 03:26:10 EST




On 30/07/2015 05:32, Steve Rutherford wrote:
>> > + /* Write kvm->irq_routing before kvm->arch.vpic. */
>> > + smp_wmb();
> I assume this pairs with irqchip_in_kernel?

Yes, see the comment added there by this same patch ("read
kvm->arch.vpic before kvm->irq_routing").

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/