qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 01/12] memory: Introduce RamDiscardMgr for RAM memory regi


From: David Hildenbrand
Subject: Re: [PATCH v6 01/12] memory: Introduce RamDiscardMgr for RAM memory regions
Date: Tue, 23 Feb 2021 16:09:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 23.02.21 16:03, Paolo Bonzini wrote:
On 23/02/21 11:50, David Hildenbrand wrote:


However, I do agree that the notifier should work with
MemoryRegionSection - this will make the "client" code much easier.

The register()/replay_populate() mechanism should consume a
MemoryRegionSection to work on, and call the listener via (adjusted)
MemoryRegionSection.

Maybe I'm even able to simplify/get rid of the discard_all() callback.

Good, thanks for trying and finding the best of both worlds.

I'll do a couple of reworks and then share the current state, then we can discuss if this is going into the right direction.

Thanks a lot for the feedback!


--
Thanks,

David / dhildenb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]