All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Avi Kivity <avi@redhat.com>, LKML <linux-kernel@vger.kernel.org>,
	KVM <kvm@vger.kernel.org>
Subject: Re: [PATCH v3 1/3] KVM: fix rcu usage warning in kvm_arch_vcpu_ioctl_set_sregs()
Date: Thu, 27 Jan 2011 10:35:35 +0800	[thread overview]
Message-ID: <4D40D9F7.6000006@cn.fujitsu.com> (raw)
In-Reply-To: <20110120152736.GA3922@amt.cnet>

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. :-)


  reply	other threads:[~2011-01-27  2:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12  7:39 [PATCH v3 1/3] KVM: fix rcu usage warning in kvm_arch_vcpu_ioctl_set_sregs() Xiao Guangrong
2011-01-12  7:40 ` [PATCH v3 2/3] KVM: send IPI to vcpu only when it's in guest mode Xiao Guangrong
2011-01-12  9:54   ` Nadav Har'El
2011-01-12  9:59     ` Avi Kivity
2011-01-12  7:41 ` [PATCH v3 3/3] KVM: make make_all_cpus_request() lockless Xiao Guangrong
2011-01-19  5:16 ` [PATCH v3 1/3] KVM: fix rcu usage warning in kvm_arch_vcpu_ioctl_set_sregs() Xiao Guangrong
2011-01-19 18:13   ` Marcelo Tosatti
2011-01-20  3:03     ` Xiao Guangrong
2011-01-20 15:27       ` Marcelo Tosatti
2011-01-27  2:35         ` Xiao Guangrong [this message]
2011-01-27 13:15         ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D40D9F7.6000006@cn.fujitsu.com \
    --to=xiaoguangrong@cn.fujitsu.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.