From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjTWi-0004zY-Np for qemu-devel@nongnu.org; Tue, 06 Oct 2015 10:47:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjTWd-0006FD-MW for qemu-devel@nongnu.org; Tue, 06 Oct 2015 10:47:36 -0400 Date: Tue, 6 Oct 2015 15:47:29 +0100 From: Stefan Hajnoczi Message-ID: <20151006144729.GC28347@stefanha-thinkpad.redhat.com> References: <1443697481-13049-3-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443697481-13049-3-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH] scsi: switch from g_slice allocator to malloc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org On Thu, Oct 01, 2015 at 01:04:40PM +0200, Paolo Bonzini wrote: > Simplify memory allocation by sticking with a single API. GSlice > is not that fast anyway (tcmalloc/jemalloc are better). > > Signed-off-by: Paolo Bonzini > --- > hw/scsi/scsi-bus.c | 4 ++-- > hw/scsi/virtio-scsi-dataplane.c | 10 +++++----- > hw/scsi/virtio-scsi.c | 12 +++++------- > 3 files changed, 12 insertions(+), 14 deletions(-) Reviewed-by: Stefan Hajnoczi