[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/2] Cleanup: flexarray taking gc.



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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.