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

Re: [libvirt] [PATCH] rpc: Double buffer size instead of quadrupling buffer size.



On Fri, May 26, 2017 at 13:02:15 +0100, Richard W.M. Jones wrote:
> When increasing the buffer size up to VIR_NET_MESSAGE_MAX, we
> currently quadruple it each time.  This unfortunately means that we
> cannot allow certain buffer sizes -- for example the current
> VIR_NET_MESSAGE_MAX == 33554432 can never be "hit" since ‘newlen’
> jumps from 16MB to 64MB.
> 
> Instead of quadrupling, double it each time.
> 
> Thanks: Daniel Berrange.
> ---

ACK

Attachment: signature.asc
Description: PGP signature


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