qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory al


From: John Snow
Subject: Re: [Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory allocator
Date: Tue, 19 Aug 2014 12:36:27 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0



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í 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.

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 debugging.

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 | 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 <address@hidden>


Ping?

(The first two patches in this series have been merged into upstream/master already.)

--
—js



reply via email to

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