qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: John Snow <jsnow@redhat.com>
Cc: marc.mari.barcelo@gmail.com, pbonzini@redhat.com,
	qemu-devel@nongnu.org, stefanha@redhat.com, afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory allocator
Date: Thu, 4 Sep 2014 15:13:31 +0100	[thread overview]
Message-ID: <20140904141331.GE27130@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1406907539-18757-1-git-send-email-jsnow@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

On Fri, Aug 01, 2014 at 11:38:55AM -0400, John Snow wrote:
> 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
> 
> 

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

      parent reply	other threads:[~2014-09-04 14:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 15:38 [Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory allocator John Snow
2014-08-01 15:38 ` [Qemu-devel] [PATCH v3 1/4] libqos: Correct mask to align size to PAGE_SIZE in malloc-pc John Snow
2014-08-01 15:38 ` [Qemu-devel] [PATCH v3 2/4] libqos: Change free function called in malloc John Snow
2014-08-01 15:38 ` [Qemu-devel] [PATCH v3 3/4] libqos: add a simple first-fit memory allocator John Snow
2014-08-01 15:38 ` [Qemu-devel] [PATCH v3 4/4] qtest/ide: Uninitialize PC allocator John Snow
2014-08-05  9:46 ` [Qemu-devel] [PATCH v3 0/4] libqos: add a simple first-fit memory allocator Stefan Hajnoczi
2014-08-19 16:36   ` John Snow
2014-09-04 14:13 ` Stefan Hajnoczi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140904141331.GE27130@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=afaerber@suse.de \
    --cc=jsnow@redhat.com \
    --cc=marc.mari.barcelo@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).