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

Re: [libvirt] [PATCH 03/10] daemon: use safer memory growth macros



On Wed, Nov 17, 2010 at 09:28:55PM -0700, Eric Blake wrote:
> * daemon/libvirtd.h (qemud_server): Change types of members
> tracking array sizes, and add allocation trackers.
> * daemon/event.c (virEventLoop): Likewise.
> (virEventAddHandleImpl, virEventAddTimeoutImpl)
> (virEventCleanupTimeouts, virEventCleanupHandles): Use
> VIR_RESIZE_N instead of VIR_REALLOC_N.  Tweak debug messages to
> match type changes.
> * daemon/libvirtd.c (qemudDispatchServer, qemudRunLoop): Likewise.
> ---
>  daemon/event.c    |   44 +++++++++++++++++++-------------------------
>  daemon/libvirtd.c |    8 +++-----
>  daemon/libvirtd.h |   11 ++++++-----
>  3 files changed, 28 insertions(+), 35 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 :|


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