qemu-e2k/include/qemu
Peter Lieven f14c3d85b0 buffer: allow a buffer to shrink gracefully
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 <pl@kamp.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1446203414-4013-20-git-send-email-kraxel@redhat.com
2015-11-05 09:09:58 +01:00
..
acl.h
atomic.h
bitmap.h
bitops.h
bswap.h
buffer.h buffer: allow a buffer to shrink gracefully 2015-11-05 09:09:58 +01:00
compatfd.h
compiler.h
config-file.h
coroutine_int.h
coroutine.h
crc32c.h
envlist.h
error-report.h
event_notifier.h util: const event_notifier_get_fd() argument 2015-10-24 18:02:49 +02:00
fifo8.h
fprintf-fn.h
hbitmap.h
host-utils.h
int128.h
iov.h
log.h
main-loop.h
memfd.h
mmap-alloc.h
module.h
notify.h
option_int.h
option.h
osdep.h
queue.h
range.h
ratelimit.h
rcu_queue.h
rcu.h
readline.h
rfifolock.h
seqlock.h
sockets.h
thread-posix.h
thread-win32.h
thread.h
throttle.h
timer.h
typedefs.h
uri.h
xattr.h