From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCFMk-0001wH-6c for qemu-devel@nongnu.org; Tue, 29 Jul 2014 17:55:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCFMd-0001yH-Vo for qemu-devel@nongnu.org; Tue, 29 Jul 2014 17:55:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCFMd-0001y9-P9 for qemu-devel@nongnu.org; Tue, 29 Jul 2014 17:55:19 -0400 From: John Snow Date: Tue, 29 Jul 2014 17:54:40 -0400 Message-Id: <1406670884-29450-1-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 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: marc.mari.barcelo@gmail.com, pbonzini@redhat.com, jsnow@redhat.com, stefanha@redhat.com This set collects two patches by Marc Mar=C3=AD 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. John Snow (2): libqos: add a simple first-fit memory allocator qtest/ide-test: add pc-alloc-uninit call Marc Mar=C3=AD (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 | 321 +++++++++++++++++++++++++++++++++++++++++= ++++-- tests/libqos/malloc-pc.h | 9 ++ tests/libqos/malloc.h | 2 +- 4 files changed, 324 insertions(+), 10 deletions(-) --=20 1.9.3