Re: [PATCH] KVM: avoid unnecessary synchronize_rcu

2014-08-25 Thread Christian Borntraeger
On 25/08/14 10:24, Christian Borntraeger wrote: > On 19/08/14 16:45, Christian Borntraeger wrote: >> We dont have to wait for a grace period if there is no oldpid that >> we are going to free. putpid also checks for NULL, so this patch >> only fences synchronize_rcu. >> >> Signed-off-by: Christian

Re: [PATCH] KVM: avoid unnecessary synchronize_rcu

2014-08-25 Thread Christian Borntraeger
On 19/08/14 16:45, Christian Borntraeger wrote: > We dont have to wait for a grace period if there is no oldpid that > we are going to free. putpid also checks for NULL, so this patch > only fences synchronize_rcu. > > Signed-off-by: Christian Borntraeger > --- > virt/kvm/kvm_main.c | 3 ++- > 1

Re: [PATCH] KVM: avoid unnecessary synchronize_rcu

2014-08-19 Thread Raghavendra K T
On 08/19/2014 08:15 PM, Christian Borntraeger wrote: We dont have to wait for a grace period if there is no oldpid that we are going to free. putpid also checks for NULL, so this patch only fences synchronize_rcu. Signed-off-by: Christian Borntraeger Feel free to add: Reviewed-by: Raghavendra