Re: [PATCH v3 1/3] KVM: fix rcu usage warning in kvm_arch_vcpu_ioctl_set_sregs()

From: Xiao Guangrong
Date: Wed Jan 26 2011 - 21:35:11 EST


On 01/20/2011 11:27 PM, Marcelo Tosatti wrote:

>> Sure :-), there is the simply test result of kernbench:
>>
>> Before patch:
>>
>> real 5m6.493s
>> user 3m57.847s
>> sys 9m7.115s
>>
>> real 5m1.750s
>> user 4m0.109s
>> sys 9m10.192s
>>
>>
>> After patch:
>> real 5m0.140s
>> user 3m57.956s
>> sys 8m58.339s
>>
>> real 4m56.314s
>> user 4m0.303s
>> sys 8m55.774s
>
> Nice. One disadvantageous side effect for the kvm_vcpu_kick path
> is that it can race with make_all_cpus_request, which is possibly
> doing unrelated, slower work (IPI'ing other vcpus, waiting for
> response).
>
> Looks ok, but lets wait for more careful reviews before applying.
>

Hi Avi, Marcelo,

I shall on vacation from 1.25 to 2.9, if you have comments on it i'll
replay after coming back. :-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/