Re: [PATCH 3/3] vfio/iommu_type1: Add support for manual dirty log clear

2021-04-16 Thread Keqian Zhu
Hi Alex, On 2021/4/16 4:43, Alex Williamson wrote: > On Tue, 13 Apr 2021 17:14:45 +0800 > Keqian Zhu wrote: > >> From: Kunkun Jiang >> >> In the past, we clear dirty log immediately after sync dirty >> log to userspace. This may cause redundant dirty handling if >> userspace handles dirty log

Re: [PATCH 3/3] vfio/iommu_type1: Add support for manual dirty log clear

2021-04-15 Thread Alex Williamson
On Tue, 13 Apr 2021 17:14:45 +0800 Keqian Zhu wrote: > From: Kunkun Jiang > > In the past, we clear dirty log immediately after sync dirty > log to userspace. This may cause redundant dirty handling if > userspace handles dirty log iteratively: > > After vfio clears dirty log, new dirty log

[PATCH 3/3] vfio/iommu_type1: Add support for manual dirty log clear

2021-04-13 Thread Keqian Zhu
From: Kunkun Jiang In the past, we clear dirty log immediately after sync dirty log to userspace. This may cause redundant dirty handling if userspace handles dirty log iteratively: After vfio clears dirty log, new dirty log starts to generate. These new dirty log will be reported to userspace