Re: [patch 2/5] KVM: reintroduce guest mode bit and unify remote request code

Avi Kivity
2009-08-27T13:24:58Z

On 08/27/2009 03:45 PM, Marcelo Tosatti wrote:
>> Why not bool guest_mode? Saves two atomics per exit.
>>
> It must be atomic since GUEST_MODE / VCPU_KICKED bits are manipulated by
> multiple CPU's.
>

bools are atomic.

--
error compiling committee.c: too many arguments to function