[PATCH v8 5/7] kvm: x86: protect masterclock with a seqcount

Paolo Bonzini pbonzini at redhat.com
Fri Oct 1 09:48:05 PDT 2021


On 16/09/21 20:15, Oliver Upton wrote:
> +	seq = read_seqcount_begin(&ka->pvclock_sc);
> +	do {
> +		use_master_clock = ka->use_master_clock;

Oops, the "seq" assignment should be inside the "do".  With that fixed, 
my tests seem to work.  I will shortly push the result to kvm/queue.

Paolo




More information about the linux-arm-kernel mailing list