From: Alexander Larsson <[email protected]> Makes malloc_sem global and protect FreeMem Releases a chunk of resources before allocating New free-list based surface allocator
Alexander Larsson (7): Make malloc_sem global Grab malloc_sem in FreeMem Release resources before allocating Free surface id if surface construction failed Add union to SurfaceInfo to put in next_free pointer New list based surface allocator Remove unused surfaces_used display/driver.c | 30 +++++--------- display/qxldd.h | 14 ++++-- display/res.c | 112 +++++++++++++++++++++++++++++++--------------------- display/surface.c | 4 +- display/surface.h | 26 ++++++++---- 5 files changed, 106 insertions(+), 80 deletions(-) -- 1.7.2.1 _______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
