From: Anthony PERARD <anthony.perard@citrix.com>
To: Xen Devel <xen-devel@lists.xen.org>
Cc: Anthony PERARD <anthony.perard@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ian Campbell <ian.campbell@citrix.com>
Subject: [PATCH 0/2] Cleanup: flexarray taking gc.
Date: Wed, 26 Sep 2012 14:31:32 +0100 [thread overview]
Message-ID: <1348666294-18182-1-git-send-email-anthony.perard@citrix.com> (raw)
This two patches do a bit of cleanup in the memomy managment in libxl,
regarding the use of flexarray.
The first one does some cleanup only in libxl_json.
The second one modify flexarray_make to take gc as argument and update every
user in libxl to pass gc and to not call flexarray_free anymore.
Anthony PERARD (2):
libxl_json: Use libxl alloc function
libxl: Have flexarray using the GC
tools/libxl/flexarray.c | 45 +++++++-------
tools/libxl/flexarray.h | 8 ++-
tools/libxl/libxl.c | 99 ++++++-------------------------
tools/libxl/libxl_dm.c | 15 +----
tools/libxl/libxl_internal.h | 1 -
tools/libxl/libxl_json.c | 137 ++++++-------------------------------------
tools/libxl/libxl_pci.c | 18 +-----
tools/libxl/libxl_qmp.c | 29 ++-------
8 files changed, 74 insertions(+), 278 deletions(-)
--
Anthony PERARD
next reply other threads:[~2012-09-26 13:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 13:31 Anthony PERARD [this message]
2012-09-26 13:31 ` [PATCH 1/2] libxl_json: Use libxl alloc function Anthony PERARD
2012-09-28 17:22 ` Ian Jackson
2012-10-01 14:04 ` Anthony PERARD
2012-09-26 13:31 ` [PATCH 2/2] libxl: Have flexarray using the GC Anthony PERARD
2012-09-28 17:27 ` Ian Jackson
2012-10-01 14:15 ` Anthony PERARD
2012-10-01 14:17 ` Ian Jackson
2012-10-01 14:23 ` Anthony PERARD
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=1348666294-18182-1-git-send-email-anthony.perard@citrix.com \
--to=anthony.perard@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=xen-devel@lists.xen.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.