All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Cc: "gleb@redhat.com" <gleb@redhat.com>,
	"mst@redhat.com" <mst@redhat.com>,
	"avi.kivity@gmail.com" <avi.kivity@gmail.com>,
	"Herongguang (Stephen)" <herongguang.he@huawei.com>,
	"Huangweidong (C)" <weidong.huang@huawei.com>,
	Christian Borntraeger <borntraeger@de.ibm.com>
Subject: Re: [RFC]Two ideas to optimize updating irq routing table
Date: Tue, 25 Mar 2014 13:37:38 +0100	[thread overview]
Message-ID: <53317892.2050506@redhat.com> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF19020815DA9BD@SZXEMA503-MBS.china.huawei.com>

Il 25/03/2014 04:19, Gonglei (Arei) ha scritto:
> Based on discussions in:
> http://lists.gnu.org/archive/html/qemu-devel/2013-11/threads.html#03322
>
> About KVM_SET_GSI_ROUTING ioctl, I tested changing RCU to SRCU, but unfortunately
> it looks like SRCU's grace period is no better than RCU.

Really?  This is not what Christian Borntraeger claimed at 
http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/118083 -- in 
fact, Andrew Theurer is currently testing a variant of that patch and I 
was going to post it for 3.16.

Have you tried synchronize_srcu_expedited?  Unlike the RCU variant, you 
can use this function.

Paolo

WARNING: multiple messages have this Message-ID (diff)
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Cc: "Huangweidong (C)" <weidong.huang@huawei.com>,
	"gleb@redhat.com" <gleb@redhat.com>,
	"mst@redhat.com" <mst@redhat.com>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	"avi.kivity@gmail.com" <avi.kivity@gmail.com>,
	"Herongguang (Stephen)" <herongguang.he@huawei.com>
Subject: Re: [Qemu-devel] [RFC]Two ideas to optimize updating irq routing table
Date: Tue, 25 Mar 2014 13:37:38 +0100	[thread overview]
Message-ID: <53317892.2050506@redhat.com> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF19020815DA9BD@SZXEMA503-MBS.china.huawei.com>

Il 25/03/2014 04:19, Gonglei (Arei) ha scritto:
> Based on discussions in:
> http://lists.gnu.org/archive/html/qemu-devel/2013-11/threads.html#03322
>
> About KVM_SET_GSI_ROUTING ioctl, I tested changing RCU to SRCU, but unfortunately
> it looks like SRCU's grace period is no better than RCU.

Really?  This is not what Christian Borntraeger claimed at 
http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/118083 -- in 
fact, Andrew Theurer is currently testing a variant of that patch and I 
was going to post it for 3.16.

Have you tried synchronize_srcu_expedited?  Unlike the RCU variant, you 
can use this function.

Paolo

  reply	other threads:[~2014-03-25 23:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25  3:19 [RFC]Two ideas to optimize updating irq routing table Gonglei (Arei)
2014-03-25  3:19 ` [Qemu-devel] " Gonglei (Arei)
2014-03-25 12:37 ` Paolo Bonzini [this message]
2014-03-25 12:37   ` Paolo Bonzini
2014-03-26  8:16   ` Christian Borntraeger
2014-03-26  8:16     ` [Qemu-devel] " Christian Borntraeger
2014-03-26  8:39     ` Gonglei (Arei)
2014-03-26  8:39       ` [Qemu-devel] " Gonglei (Arei)
2014-03-26  8:22   ` Gonglei (Arei)
2014-03-26  8:22     ` [Qemu-devel] " Gonglei (Arei)
2014-03-26  9:37     ` Paolo Bonzini
2014-03-26  9:37       ` [Qemu-devel] " Paolo Bonzini
2014-03-26 11:14     ` Christian Borntraeger
2014-03-26 11:14       ` [Qemu-devel] " Christian Borntraeger
2014-03-26 11:45     ` Michael S. Tsirkin
2014-03-26 11:45       ` [Qemu-devel] " Michael S. Tsirkin

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=53317892.2050506@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=arei.gonglei@huawei.com \
    --cc=avi.kivity@gmail.com \
    --cc=borntraeger@de.ibm.com \
    --cc=gleb@redhat.com \
    --cc=herongguang.he@huawei.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=weidong.huang@huawei.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.