From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJmOp-0000Rr-QL for qemu-devel@nongnu.org; Tue, 19 Aug 2014 12:36:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJmOh-0004pA-Im for qemu-devel@nongnu.org; Tue, 19 Aug 2014 12:36:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJmOh-0004oz-A9 for qemu-devel@nongnu.org; Tue, 19 Aug 2014 12:36:35 -0400 Message-ID: <53F37D0B.3080506@redhat.com> Date: Tue, 19 Aug 2014 12:36:27 -0400 From: John Snow MIME-Version: 1.0 References: <1406907539-18757-1-git-send-email-jsnow@redhat.com> <20140805094631.GE3186@stefanha-thinkpad.redhat.com> In-Reply-To: <20140805094631.GE3186@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory allocator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?windows-1252?Q?Marc_Mar=ED?= , Stefan Hajnoczi On 08/05/2014 05:46 AM, Stefan Hajnoczi wrote: > On Fri, Aug 01, 2014 at 11:38:55AM -0400, John Snow wrote: >> This set collects two patches by Marc Mar=ED already on the mailing li= st, >> but goes further by adding a simple memory allocator that allows us to >> track and debug freed memory, and optionally keep track of any leaks. >> >> For convenience: https://github.com/jnsnow/qemu/tree/libqos-alloc >> >> v2: use QTAILQ as a basis for the linked list implementation instead. >> Correct an error in the size of the initial node. >> v3: remove mlist wrappers around QTAILQ interface for clarity. >> adjust the options controlling when to do allocation list debuggi= ng. >> >> John Snow (2): >> libqos: add a simple first-fit memory allocator >> qtest/ide: Uninitialize PC allocator >> >> Marc Mar=ED (2): >> libqos: Correct mask to align size to PAGE_SIZE in malloc-pc >> libqos: Change free function called in malloc >> >> tests/ide-test.c | 2 + >> tests/libqos/malloc-pc.c | 280 +++++++++++++++++++++++++++++++++++++= ++++++++-- >> tests/libqos/malloc-pc.h | 9 ++ >> tests/libqos/malloc.h | 2 +- >> 4 files changed, 282 insertions(+), 11 deletions(-) >> >> -- >> 1.9.3 >> > > Reviewed-by: Stefan Hajnoczi > Ping? (The first two patches in this series have been merged into=20 upstream/master already.) --=20 =97js