From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubu0H-0003aA-TE for qemu-devel@nongnu.org; Mon, 13 May 2013 10:45:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ubu0G-00048V-5p for qemu-devel@nongnu.org; Mon, 13 May 2013 10:45:29 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:36768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubu0F-00048P-RB for qemu-devel@nongnu.org; Mon, 13 May 2013 10:45:28 -0400 Date: Mon, 13 May 2013 10:45:24 -0400 (EDT) From: Paolo Bonzini Message-ID: <800498586.589361.1368456324455.JavaMail.root@redhat.com> In-Reply-To: References: <1368454796-14989-1-git-send-email-pbonzini@redhat.com> <1368454796-14989-3-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-1.5 2/2] osdep: introduce qemu_anon_ram_free to free qemu_anon_ram_alloc-ed memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: kwolf@redhat.com, aliguori@us.ibm.com, akong@redhat.com, qemu-devel@nongnu.org > On 13 May 2013 15:19, Paolo Bonzini wrote: > > --- a/include/qemu/osdep.h > > +++ b/include/qemu/osdep.h > > @@ -98,6 +98,7 @@ int qemu_daemon(int nochdir, int noclose); > > void *qemu_memalign(size_t alignment, size_t size); > > void *qemu_anon_ram_alloc(size_t size); > > void qemu_vfree(void *ptr); > > +void qemu_anon_ram_free(void *ptr, size_t size); > > No documentation comment? None in the proximity, either, and it's (a) pretty obvious that it matches qemu_anon_ram_alloc (b) not really commonly used, so it won't help a lot of readers. Paolo