qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCHv2 5/7] Export qemu_sendv_recvv() and use it in q


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCHv2 5/7] Export qemu_sendv_recvv() and use it in qemu_sendv() and qemu_recvv()
Date: Sun, 11 Mar 2012 16:00:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]