[Qemu-devel] [PATCH v3 0/4] memory: Fix up coalesced_io_del not working for KVM

Peter Xu posted 4 patches 6 years, 2 months ago
Test docker-clang@ubuntu passed
Test FreeBSD passed
Test asan failed
Test docker-mingw@fedora passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190820141328.10009-1-peterx@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>
memory.c | 99 +++++++++++++++++++++++++++++---------------------------
1 file changed, 52 insertions(+), 47 deletions(-)
[Qemu-devel] [PATCH v3 0/4] memory: Fix up coalesced_io_del not working for KVM
Posted by Peter Xu 6 years, 2 months ago
v3:
- dropping patch 1 because I'm going to drop the has_coalesced_ranges
  variable later...
- moving previous patch 2 as patch 1 because I think it's definitely
  solving a standalone issue of KVM, and also it'll introduce a helper
  function that will be used in follow up patches.
- added new patches
  - patch 3: a cleanup and prepares for the next
  - patch 4: fixes another issue when add/clear coalescing ranges that
             Paolo pointed out

v2:
- simply migrate has_coalesced_range in patch 1, while I added
  comments in the code because that can be a bit unobvious [Paolo]

v1 is here:

https://lists.gnu.org/archive/html/qemu-devel/2019-08/msg03293.html

Peter Xu (4):
  memory: Split zones when do coalesced_io_del()
  memory: Remove has_coalesced_range counter
  memory: Refactor memory_region_clear_coalescing
  memory: Fix up memory_region_{add|del}_coalescing

 memory.c | 99 +++++++++++++++++++++++++++++---------------------------
 1 file changed, 52 insertions(+), 47 deletions(-)

-- 
2.21.0


Re: [Qemu-devel] [PATCH v3 0/4] memory: Fix up coalesced_io_del not working for KVM
Posted by Paolo Bonzini 6 years, 2 months ago
Looks great, thanks!

I'm even squashing together 1/3/4 since it's actually quite readable and
the intermediate states aren't really bisectable.

Paolo

On 20/08/19 16:13, Peter Xu wrote:
> v3:
> - dropping patch 1 because I'm going to drop the has_coalesced_ranges
>   variable later...
> - moving previous patch 2 as patch 1 because I think it's definitely
>   solving a standalone issue of KVM, and also it'll introduce a helper
>   function that will be used in follow up patches.
> - added new patches
>   - patch 3: a cleanup and prepares for the next
>   - patch 4: fixes another issue when add/clear coalescing ranges that
>              Paolo pointed out
> 
> v2:
> - simply migrate has_coalesced_range in patch 1, while I added
>   comments in the code because that can be a bit unobvious [Paolo]
> 
> v1 is here:
> 
> https://lists.gnu.org/archive/html/qemu-devel/2019-08/msg03293.html
> 
> Peter Xu (4):
>   memory: Split zones when do coalesced_io_del()
>   memory: Remove has_coalesced_range counter
>   memory: Refactor memory_region_clear_coalescing
>   memory: Fix up memory_region_{add|del}_coalescing
> 
>  memory.c | 99 +++++++++++++++++++++++++++++---------------------------
>  1 file changed, 52 insertions(+), 47 deletions(-)
>