From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [RFC]Two ideas to optimize updating irq routing table Date: Tue, 25 Mar 2014 13:37:38 +0100 Message-ID: <53317892.2050506@redhat.com> References: <33183CC9F5247A488A2544077AF19020815DA9BD@SZXEMA503-MBS.china.huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "gleb@redhat.com" , "mst@redhat.com" , "avi.kivity@gmail.com" , "Herongguang (Stephen)" , "Huangweidong (C)" , Christian Borntraeger To: "Gonglei (Arei)" , "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:30150 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754785AbaCYXGD (ORCPT ); Tue, 25 Mar 2014 19:06:03 -0400 In-Reply-To: <33183CC9F5247A488A2544077AF19020815DA9BD@SZXEMA503-MBS.china.huawei.com> Sender: kvm-owner@vger.kernel.org List-ID: 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