Re: [PATCH 2/2] x86/idle: use dynamic halt poll

From: Paolo Bonzini
Date: Tue Jun 27 2017 - 10:26:59 EST




On 27/06/2017 16:22, Radim KrÄmÃÅ wrote:
> vcpu_is_preempted() on current cpu cannot return true, AFAIK.

Of course. I must have been thinking of an older version of the
vcpu_is_preempted patch (at some point the guest was the one that set
preempted to 0).

Paolo