Re: [Qemu-devel] [PATCH 19/19] buffer: allow a buffer to shrink gracefully

2015-11-02 Thread Peter Lieven
Am 30.10.2015 um 12:10 schrieb Gerd Hoffmann: From: Peter Lieven the idea behind this patch is to allow the buffer to shrink, but make this a seldom operation. The buffers average size is measured exponentionally smoothed with am alpha of 1/128. Signed-off-by: Peter Lieven Signed-off-by: Gerd

Re: [Qemu-devel] [PATCH 19/19] buffer: allow a buffer to shrink gracefully

2015-10-30 Thread Daniel P. Berrange
On Fri, Oct 30, 2015 at 12:10:14PM +0100, Gerd Hoffmann wrote: > From: Peter Lieven > > the idea behind this patch is to allow the buffer to shrink, but > make this a seldom operation. The buffers average size is measured > exponentionally smoothed with am alpha of 1/128. s/am/an/ > > Signed-o

[Qemu-devel] [PATCH 19/19] buffer: allow a buffer to shrink gracefully

2015-10-30 Thread Gerd Hoffmann
From: Peter Lieven the idea behind this patch is to allow the buffer to shrink, but make this a seldom operation. The buffers average size is measured exponentionally smoothed with am alpha of 1/128. Signed-off-by: Peter Lieven Signed-off-by: Gerd Hoffmann --- include/qemu/buffer.h | 1 + ut