Re: [PATCH v2 00/43] KVM: Halt-polling and x86 APICv overhaul

From: Paolo Bonzini
Date: Wed Oct 27 2021 - 10:57:14 EST


On 27/10/21 16:41, Sean Christopherson wrote:
The other thing I don't like about having the WARN in the loop is that it suggests
that something other than the vCPU can modify the NDST and SN fields, which is
wrong and confusing (for me).

Yeah, I can agree with that. Can you add it in a comment above the cmpxchg loop, it can be as simple as

/* The processor can set ON concurrently. */

when you respin patch 21 and the rest of the series?

Paolo