[libvirt] [PATCH 02/10] memory: make it easier to avoid quadratic scaling of arrays

Daniel P. Berrange berrange at redhat.com
Thu Nov 18 09:49:12 UTC 2010


On Wed, Nov 17, 2010 at 09:28:54PM -0700, Eric Blake wrote:
> * src/util/memory.h (VIR_RESIZE_N): New macro.
> * src/util/memory.c (virResizeN): New function.
> * docs/hacking.html.in: Document it.
> * HACKING: Regenerate.
> * src/libvirt_private.syms: Export new helper.
> ---
>  HACKING                  |   43 +++++++++++++++++++++++++++++++++++++----
>  docs/hacking.html.in     |   47 ++++++++++++++++++++++++++++++++++++++++-----
>  src/libvirt_private.syms |    1 +
>  src/util/memory.c        |   35 ++++++++++++++++++++++++++++++++++
>  src/util/memory.h        |   26 +++++++++++++++++++++++++
>  5 files changed, 141 insertions(+), 11 deletions(-)

ACK


Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list