Home
last modified time | relevance | path

Searched hist:db144f7000327a98a7ed0b32f1fc8615ad4ae740 (Results 1 – 1 of 1) sorted by relevance

/qemu/
H A Dtrace-eventsdb144f7000327a98a7ed0b32f1fc8615ad4ae740 Mon Mar 12 17:20:56 UTC 2018 Dr. David Alan Gilbert <dgilbert@redhat.com> migrate: Update ram_block_discard_range for shared

The choice of call to discard a block is getting more complicated
for other cases. We use fallocate PUNCH_HOLE in any file cases;
it works for both hugepage and for tmpfs.
We use the DONTNEED for non-hugepage cases either where they're
anonymous or where they're private.

Care should be taken when trying other backing files.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>