From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEbKL-0006sq-TR for qemu-devel@nongnu.org; Tue, 05 Aug 2014 05:46:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEbKG-0005ln-NB for qemu-devel@nongnu.org; Tue, 05 Aug 2014 05:46:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEbKG-0005lU-7d for qemu-devel@nongnu.org; Tue, 05 Aug 2014 05:46:36 -0400 Date: Tue, 5 Aug 2014 10:46:31 +0100 From: Stefan Hajnoczi Message-ID: <20140805094631.GE3186@stefanha-thinkpad.redhat.com> References: <1406907539-18757-1-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZInfyf7laFu/Kiw7" Content-Disposition: inline In-Reply-To: <1406907539-18757-1-git-send-email-jsnow@redhat.com> 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: John Snow Cc: marc.mari.barcelo@gmail.com, pbonzini@redhat.com, qemu-devel@nongnu.org, afaerber@suse.de --ZInfyf7laFu/Kiw7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 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. >=20 > For convenience: https://github.com/jnsnow/qemu/tree/libqos-alloc >=20 > 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. >=20 > John Snow (2): > libqos: add a simple first-fit memory allocator > qtest/ide: Uninitialize PC allocator >=20 > Marc Mar=ED (2): > libqos: Correct mask to align size to PAGE_SIZE in malloc-pc > libqos: Change free function called in malloc >=20 > 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(-) >=20 > --=20 > 1.9.3 >=20 Reviewed-by: Stefan Hajnoczi --ZInfyf7laFu/Kiw7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT4Kf3AAoJEJykq7OBq3PIx7MH/20JaSsAdiUW13QMUKktapR8 //CB/z8svLzp/dMbolGJxWOOH1PGjGs0tjhhw18f5fRcHKxclDm5Tc/HcCEQPfVk yoyD4BU61mSkOYzrXjCjaIoRkLv0TSQu0RQgQxWqC0ksN6OlItUbKRRLXYZoRW3j u02I/xNdN7ac17zDu+L1owXo0MQsgo0palAHDbOlNZ/HgGQpRIONhLUX8zbkaMWd PMmltYhcFe8binv8cjNan3FPBC8PAEsQ2/jpiEQ4BmGboNBTL6x+Ry1EhSk+P8+C u7lZVb3dIC/Ls34x01r4xWUgW6dI0t0aZfNNzcnaHJyi1/D/fpN8HgGwThUKJ80= =wowd -----END PGP SIGNATURE----- --ZInfyf7laFu/Kiw7--