From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfhKQ-000841-AL for qemu-devel@nongnu.org; Fri, 02 Sep 2016 01:47:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfhKK-0002kM-A2 for qemu-devel@nongnu.org; Fri, 02 Sep 2016 01:47:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfhKK-0002kH-4N for qemu-devel@nongnu.org; Fri, 02 Sep 2016 01:47:44 -0400 Date: Fri, 2 Sep 2016 13:47:39 +0800 From: Peter Xu Message-ID: <20160902054739.GA18496@pxdev.xzpeter.org> References: <1472526419-5900-1-git-send-email-jasowang@redhat.com> <1472526419-5900-12-git-send-email-jasowang@redhat.com> <20160901033410.GB3558@pxdev.xzpeter.org> <58fe1e22-96a7-e1e7-0ade-8e8407f75cc8@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <58fe1e22-96a7-e1e7-0ade-8e8407f75cc8@redhat.com> Subject: Re: [Qemu-devel] [PATCH for 2.8 11/11] vhost_net: device IOTLB support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: mst@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com, cornelia.huck@de.ibm.com, wexu@redhat.com, vkaplans@redhat.com On Thu, Sep 01, 2016 at 03:36:40PM +0800, Jason Wang wrote: > The synchronization were done in kernel: > > - message dequeue and enqueue were protected by a spinlock > - the data path and control path (e.g IOTLB updating) were synchronized > through mutex Yes I didn't notice it's the vhost chr device... Thanks! -- peterx