Re: [Qemu-devel] [PATCH for-2.8 0/4] Allow 'cache-clean-interval' in Linux only

2016-11-28 Thread Kevin Wolf
Am 25.11.2016 um 12:27 hat Alberto Garcia geschrieben: > Hi all, > > The cache-clean-interval setting of qcow2 frees the memory of the L2 > cache tables that haven't been used after a certain interval of time. > > QEMU uses madvise() with MADV_DONTNEED for this. After that call, the > data in the

[Qemu-devel] [PATCH for-2.8 0/4] Allow 'cache-clean-interval' in Linux only

2016-11-25 Thread Alberto Garcia
Hi all, The cache-clean-interval setting of qcow2 frees the memory of the L2 cache tables that haven't been used after a certain interval of time. QEMU uses madvise() with MADV_DONTNEED for this. After that call, the data in the specified cache tables is discarded by the kernel. The problem with