From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPQXp-00032z-Jp for qemu-devel@nongnu.org; Wed, 12 Aug 2015 03:33:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPQXm-0000Q6-Ef for qemu-devel@nongnu.org; Wed, 12 Aug 2015 03:33:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPQXm-0000Q2-9W for qemu-devel@nongnu.org; Wed, 12 Aug 2015 03:33:50 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id A2D3191E83 for ; Wed, 12 Aug 2015 07:33:49 +0000 (UTC) Date: Wed, 12 Aug 2015 10:33:47 +0300 From: "Michael S. Tsirkin" Message-ID: <20150812103231-mutt-send-email-mst@redhat.com> References: <1438095173-7417-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438095173-7417-1-git-send-email-imammedo@redhat.com> Subject: Re: [Qemu-devel] [PATCH for-2.5 0/4] vhost: cleanups and switching to sorted memory map List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org On Tue, Jul 28, 2015 at 04:52:49PM +0200, Igor Mammedov wrote: > making memory map a sorted array helps to simplify > and speed up lookup/insertion and deletion ops on it. > It also makes insertion/deteletion code easier to read. I'm a bit confused by all the vhost patches you sent. Is this series still something you want me to merge? Or was it the one that caused memory corruptions with mem hotplug? > Igor Mammedov (4): > vhost: codding style fix tab indents > vhost: simplify/speedify vhost_dev_assign_memory() > vhost: switch region lookup from linear to bsearch > vhost: simplify/speedify vhost_dev_unassign_memory() > > hw/virtio/vhost.c | 252 ++++++++++++++++++++++++++---------------------------- > 1 file changed, 123 insertions(+), 129 deletions(-) > > -- > 1.8.3.1