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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]