From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a99RM-0004V3-12 for qemu-devel@nongnu.org; Wed, 16 Dec 2015 05:36:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a99RI-0007Dx-Sn for qemu-devel@nongnu.org; Wed, 16 Dec 2015 05:36:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a99RI-0007Ds-NK for qemu-devel@nongnu.org; Wed, 16 Dec 2015 05:36:08 -0500 From: Juan Quintela In-Reply-To: <1450206170-26901-7-git-send-email-dgilbert@redhat.com> (David Alan Gilbert's message of "Tue, 15 Dec 2015 19:02:50 +0000") References: <1450206170-26901-1-git-send-email-dgilbert@redhat.com> <1450206170-26901-7-git-send-email-dgilbert@redhat.com> Date: Wed, 16 Dec 2015 11:35:57 +0100 Message-ID: <8760zywuia.fsf@emacs.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 6/6] multithread decompression: Avoid one copy Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: amit.shah@redhat.com, jdenemar@redhat.com, liang.z.li@intel.com, qemu-devel@nongnu.org, zhang.zhanghailiang@huawei.com "Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > qemu_get_buffer does a copy, we can avoid the memcpy, and > we can then remove the extra buffer. > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintela