[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/4] libqos: add a simple first-fit memory al
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/4] libqos: add a simple first-fit memory allocator |
Date: |
Thu, 31 Jul 2014 11:14:46 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, Jul 30, 2014 at 06:28:25PM -0400, John Snow wrote:
> This set collects two patches by Marc Marí already on the mailing list,
> 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.
>
>
> v2: use QTAILQ as a basis for the linked list implementation instead.
> Correct an error in the size of the initial node.
>
>
> John Snow (2):
> libqos: add a simple first-fit memory allocator
> qtest/ide: Uninitialize PC allocator
>
> Marc Marí (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 | 296
> +++++++++++++++++++++++++++++++++++++++++++++--
> tests/libqos/malloc-pc.h | 9 ++
> tests/libqos/malloc.h | 2 +-
> 4 files changed, 298 insertions(+), 11 deletions(-)
Looking pretty close, please CC Andreas Färber <address@hidden>.
Stefan
pgpUPgUePHYpJ.pgp
Description: PGP signature