From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPXnB-00034m-57 for qemu-devel@nongnu.org; Thu, 04 Sep 2014 10:13:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPXn5-0007Bw-HC for qemu-devel@nongnu.org; Thu, 04 Sep 2014 10:13:40 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:44154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPXn5-0007Bm-Ao for qemu-devel@nongnu.org; Thu, 04 Sep 2014 10:13:35 -0400 Received: by mail-wi0-f172.google.com with SMTP id n3so1175953wiv.11 for ; Thu, 04 Sep 2014 07:13:34 -0700 (PDT) Date: Thu, 4 Sep 2014 15:13:31 +0100 From: Stefan Hajnoczi Message-ID: <20140904141331.GE27130@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="YkJPYEFdoxh/AXLE" 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, stefanha@redhat.com, afaerber@suse.de --YkJPYEFdoxh/AXLE 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 >=20 Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --YkJPYEFdoxh/AXLE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUCHOLAAoJEJykq7OBq3PI0vMIAJSIbNd7cBLd1tyYyJsb0D1W /ewWCnX5LussFncz7+YpiaeDJ8xGP37sVn9BZVR1JENQerbbzNt7izKkcBGu12HZ OnTDZ4DKy2HzKjjweJrKFpFjDGkSYGTi+qBAA5NssvyJQEomPuL3/bywibX/Wdbb +zm4OSIvHe0O2Uaxxow9ZB2jM21M8Wd582er9w7TolI2CFKa25lO1VfVdl04j/fc 6ASvf8sQfVsXn7MjAJJOnic5CbE8jEC8TcLCpiK5YOQvgfWmwX+B4XyCPyq8gGZm HRc1e8owSj7ZsGq+XqLxmvJqfPM5TgJBMk4M6JwJheOrg+6uoauBp2fr+VPhvdY= =xRCF -----END PGP SIGNATURE----- --YkJPYEFdoxh/AXLE--