From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgyMS-0000uF-6B for qemu-devel@nongnu.org; Wed, 22 Oct 2014 12:02:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgyMI-0006My-Tb for qemu-devel@nongnu.org; Wed, 22 Oct 2014 12:02:08 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:44076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgyMI-0006Mo-M8 for qemu-devel@nongnu.org; Wed, 22 Oct 2014 12:01:58 -0400 Received: by mail-la0-f42.google.com with SMTP id gf13so3565437lab.29 for ; Wed, 22 Oct 2014 09:01:57 -0700 (PDT) Date: Wed, 22 Oct 2014 17:01:53 +0100 From: Stefan Hajnoczi Message-ID: <20141022160153.GA12575@stefanha-thinkpad.redhat.com> References: <1413624257-7714-1-git-send-email-marc.mari.barcelo@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <1413624257-7714-1-git-send-email-marc.mari.barcelo@gmail.com> Subject: Re: [Qemu-devel] [PATCH] libqos: Convert malloc-pc allocator to a generic allocator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marc =?iso-8859-1?Q?Mar=ED?= Cc: John Snow , qemu-devel@nongnu.org, Stefan Hajnoczi , Andreas =?iso-8859-1?Q?F=E4rber?= --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 18, 2014 at 11:24:17AM +0200, Marc Mar=ED wrote: > The allocator in malloc-pc has been extracted, so it can be used in every= arch. > This operation showed that both the alloc and free functions can be also > generic. > Because of this, the QGuestAllocator has been removed from is function to= wrap > the alloc and free function, and now just contains the allocator paramete= rs. > As a result, only the allocator initalizer and unitializer are arch depen= dent. >=20 > Signed-off-by: Marc Mar=ED > --- > tests/Makefile | 2 +- > tests/libqos/malloc-pc.c | 280 +---------------------------------------= ------ > tests/libqos/malloc-pc.h | 11 +- > tests/libqos/malloc.c | 268 ++++++++++++++++++++++++++++++++++++++++= ++++ > tests/libqos/malloc.h | 45 +++++--- > 5 files changed, 307 insertions(+), 299 deletions(-) > create mode 100644 tests/libqos/malloc.c Reviewed-by: Stefan Hajnoczi --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUR9TxAAoJEJykq7OBq3PIUC0H/Aiw8sEaXMcrCCgtluCFIn3g J4/HVxyA0TgKRx8uwA6S9lAWsRSFSvRizgRHugv6sSUau0zSTzifgseBD9l9tNnV lzsqD4bRGz5NInpTSAgc8RaNLaVSyEXF6eOKC/YVmww8asTapIHmTC85uzYSJCsf +ggqGGOKcbUXGKbVI88P4LcAit8GbUHEOjSgtnX8if7i54h5R20p5UqEBoop0h2y ecriXhffsaCNkbZRo/bg0GyW9UD0nDvl0izAk7Smm3P0WU4gWux2o3jtqb5k0Wrh 1Q255uz0xuBEcIkid1930vCC/F6pE6aGH5eYzc/keZ9mQl4Mm5u6ooJjbA3FjE0= =YJRX -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--