From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6kFx-0004Ae-9m for qemu-devel@nongnu.org; Sun, 11 Mar 2012 11:00:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6kFv-00054q-Oh for qemu-devel@nongnu.org; Sun, 11 Mar 2012 11:00:20 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:34942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6kFv-00054j-GH for qemu-devel@nongnu.org; Sun, 11 Mar 2012 11:00:19 -0400 Received: by wibhm17 with SMTP id hm17so2155746wib.4 for ; Sun, 11 Mar 2012 08:00:17 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4F5CBDFE.2060301@redhat.com> Date: Sun, 11 Mar 2012 16:00:14 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1331430564-32745-1-git-send-email-mjt@msgid.tls.msk.ru> <1331430564-32745-6-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1331430564-32745-6-git-send-email-mjt@msgid.tls.msk.ru> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv2 5/7] Export qemu_sendv_recvv() and use it in qemu_sendv() and qemu_recvv() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: qemu-devel@nongnu.org Il 11/03/2012 02:49, Michael Tokarev ha scritto: > Rename do_sendv_recvv() to qemu_sendv_recvv(), > change its last arg (do_send) from int to bool, > export it in qemu-common.h, and made the two > callers of it (qemu_sendv() and qemu_recvv()) > to be trivial #defines just adding 5th arg. GCC is smart and knows how to do tail calls in many cases. Thus, I don't see very much the point of this patch. Paolo