Re: [PATCH v1 1/9] memory: Introduce RamDiscardMgr for RAM memory regions

2020-12-03 Thread David Hildenbrand
On 03.12.20 00:26, Alex Williamson wrote: > On Thu, 19 Nov 2020 16:39:10 +0100 > David Hildenbrand wrote: > >> We have some special RAM memory regions (managed by virtio-mem), whereby >> the guest agreed to only use selected memory ranges. "unused" parts are >> discarded so they won't consume mem

Re: [PATCH v1 1/9] memory: Introduce RamDiscardMgr for RAM memory regions

2020-12-02 Thread Alex Williamson
On Thu, 19 Nov 2020 16:39:10 +0100 David Hildenbrand wrote: > We have some special RAM memory regions (managed by virtio-mem), whereby > the guest agreed to only use selected memory ranges. "unused" parts are > discarded so they won't consume memory - to logically unplug these memory > ranges. Be

[PATCH v1 1/9] memory: Introduce RamDiscardMgr for RAM memory regions

2020-11-19 Thread David Hildenbrand
We have some special RAM memory regions (managed by virtio-mem), whereby the guest agreed to only use selected memory ranges. "unused" parts are discarded so they won't consume memory - to logically unplug these memory ranges. Before the VM is allowed to use such logically unplugged memory again, c