From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WihV9-0002fV-0W for qemu-devel@nongnu.org; Fri, 09 May 2014 05:54:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WihV1-0001Vi-TK for qemu-devel@nongnu.org; Fri, 09 May 2014 05:53:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WihV1-0001VV-Ll for qemu-devel@nongnu.org; Fri, 09 May 2014 05:53:51 -0400 Message-ID: <536CA5A5.4080303@redhat.com> Date: Fri, 09 May 2014 11:53:41 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <33183CC9F5247A488A2544077AF19020815E7324@SZXEMA503-MBS.china.huawei.com> <536C8E83.8030504@redhat.com> <33183CC9F5247A488A2544077AF19020815E744C@SZXEMA503-MBS.china.huawei.com> In-Reply-To: <33183CC9F5247A488A2544077AF19020815E744C@SZXEMA503-MBS.china.huawei.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] vhost: Can we change synchronize_rcu to call_rcu in vhost_set_memory() in vhost kernel module? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gonglei (Arei)" , "qemu-devel@nongnu.org" Cc: "Huangweidong (C)" , "Herongguang (Stephen)" , "mst@redhat.com" Il 09/05/2014 11:04, Gonglei (Arei) ha scritto: >> > Yes, for example enabling/disabling PCI BARs would have that effect. >> > > Yes, but PCI BARs are mapped in PCI hole, and they are not overlapped with ram > memory regions, so disable or enable PCI BARs would not change ram MRs' mapping. PCI BARs can be RAM (one special case being the ROM BAR). Paolo > Since vhost_region_add/vhost_region_del check if changed MemoryRegionSection is ram, > so vhost memoey mappings will not be influenced, is this correct?