On 04/24/2012 12:19 PM, Avi Kivity wrote: > > We need a mb here to avoid that setting vcpu->mode is reordered to the head > > of reading/writing spte? (it is safe on x86, but we need a comment at least?) > > I don't think so. Documentation/memory-barriers says: > > Any atomic operation that modifies some state in memory and returns > information > But we have some non-atomic writes to sptes. Will fix. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html