xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Cleanup: flexarray taking gc.
@ 2012-09-26 13:31 Anthony PERARD
  2012-09-26 13:31 ` [PATCH 1/2] libxl_json: Use libxl alloc function Anthony PERARD
  2012-09-26 13:31 ` [PATCH 2/2] libxl: Have flexarray using the GC Anthony PERARD
  0 siblings, 2 replies; 9+ messages in thread
From: Anthony PERARD @ 2012-09-26 13:31 UTC (permalink / raw)
  To: Xen Devel; +Cc: Anthony PERARD, Ian Jackson, Ian Campbell

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-10-01 14:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26 13:31 [PATCH 0/2] Cleanup: flexarray taking gc Anthony PERARD
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

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).