[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory alloca
From: |
John Snow |
Subject: |
[Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory allocator |
Date: |
Fri, 1 Aug 2014 11:38:55 -0400 |
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
- [Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory allocator,
John Snow <=
- [Qemu-devel] [PATCH v3 2/4] libqos: Change free function called in malloc, John Snow, 2014/08/01
- [Qemu-devel] [PATCH v3 1/4] libqos: Correct mask to align size to PAGE_SIZE in malloc-pc, John Snow, 2014/08/01
- [Qemu-devel] [PATCH v3 4/4] qtest/ide: Uninitialize PC allocator, John Snow, 2014/08/01
- [Qemu-devel] [PATCH v3 3/4] libqos: add a simple first-fit memory allocator, John Snow, 2014/08/01
- Re: [Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory allocator, Stefan Hajnoczi, 2014/08/05