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

[libvirt] [PATCH 0/1] Variable length structure allocator



I've had this patch hanging around for a while, and I think it's worth committing even though the original reason for it went away.  The kind of structure it allocates is reasonably common, and the oversize calculation is tricky to get right.  Since we've already done the work (thanks Jim for the oversize calculation) I think it's worth keeping.

Dave


David Allan (1):
  Implement variable length structure allocator

 src/util/memory.c |   40 ++++++++++++++++++++++++++++++++++++++++
 src/util/memory.h |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+), 0 deletions(-)


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