[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 0/3] Clean unused entries in the qcow2 L2/refcount c
From: |
Alberto Garcia |
Subject: |
[Qemu-block] [PATCH 0/3] Clean unused entries in the qcow2 L2/refcount cache |
Date: |
Mon, 18 May 2015 19:48:33 +0300 |
These patches use MADV_DONTNEED to clean unused cache entries. Under
Linux it frees the memory used by those pages.
Berto
Alberto Garcia (3):
qcow2: mark the memory as no longer needed after qcow2_cache_empty()
qcow2: add option to clean unused cache entries after some time
qcow2: reorder fields in Qcow2CachedTable to reduce padding
block/qcow2-cache.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++-
block/qcow2.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
block/qcow2.h | 4 ++++
qapi/block-core.json | 6 +++++-
4 files changed, 121 insertions(+), 2 deletions(-)
--
2.1.4