Re: [PATCH RFC 3/9] memory: Introduce log_sync_global() to memory listener

2020-03-25 Thread Peter Xu
On Wed, Mar 25, 2020 at 04:52:52PM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > Some of the memory listener may want to do log synchronization without > > being able to specify a range of memory to sync but always globally. > > Such a memory listener should

Re: [PATCH RFC 3/9] memory: Introduce log_sync_global() to memory listener

2020-03-25 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Some of the memory listener may want to do log synchronization without > being able to specify a range of memory to sync but always globally. > Such a memory listener should provide this new method instead of the > log_sync() method. > > Obviously we can

[PATCH RFC 3/9] memory: Introduce log_sync_global() to memory listener

2020-02-05 Thread Peter Xu
Some of the memory listener may want to do log synchronization without being able to specify a range of memory to sync but always globally. Such a memory listener should provide this new method instead of the log_sync() method. Obviously we can also achieve similar thing when we put the global