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

2011-01-27 Thread Avi Kivity
On 01/20/2011 05:27 PM, Marcelo Tosatti wrote: > Before patch: > > real5m6.493s > user3m57.847s > sys 9m7.115s > > real5m1.750s > user4m0.109s > sys 9m10.192s > > > After patch: > real5m0.140s > user3m57.956s > sys 8m58.339s > > real4m56.314s >

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

2011-01-26 Thread Xiao Guangrong
On 01/20/2011 11:27 PM, Marcelo Tosatti wrote: >> Sure :-), there is the simply test result of kernbench: >> >> Before patch: >> >> real5m6.493s >> >> user3m57.847s

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

2011-01-20 Thread Marcelo Tosatti
On Thu, Jan 20, 2011 at 11:03:31AM +0800, Xiao Guangrong wrote: > On 01/20/2011 02:13 AM, Marcelo Tosatti wrote: > > On Wed, Jan 19, 2011 at 01:16:23PM +0800, Xiao Guangrong wrote: > >> On 01/12/2011 03:39 PM, Xiao Guangrong wrote: > >>> Fix: > >>> > >>> [ 1001.499596] =

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

2011-01-19 Thread Xiao Guangrong
On 01/20/2011 02:13 AM, Marcelo Tosatti wrote: > On Wed, Jan 19, 2011 at 01:16:23PM +0800, Xiao Guangrong wrote: >> On 01/12/2011 03:39 PM, Xiao Guangrong wrote: >>> Fix: >>> >>> [ 1001.499596] === >>> [ 1001.499599] [ INFO: suspicious rcu_dereference

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

2011-01-19 Thread Marcelo Tosatti
On Wed, Jan 19, 2011 at 01:16:23PM +0800, Xiao Guangrong wrote: > On 01/12/2011 03:39 PM, Xiao Guangrong wrote: > > Fix: > > > > [ 1001.499596] === > > [ 1001.499599] [ INFO: suspicious rcu_dereference_check() usage. ] > > [ 1001.499601]

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

2011-01-18 Thread Xiao Guangrong
On 01/12/2011 03:39 PM, Xiao Guangrong wrote: > Fix: > > [ 1001.499596] === > [ 1001.499599] [ INFO: suspicious rcu_dereference_check() usage. ] > [ 1001.499601] --- > [ 1001.499604] include/linux/kvm_h

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

2011-01-11 Thread Xiao Guangrong
Fix: [ 1001.499596] === [ 1001.499599] [ INFO: suspicious rcu_dereference_check() usage. ] [ 1001.499601] --- [ 1001.499604] include/linux/kvm_host.h:301 invoked rcu_dereference_check() without protect