Skip to content

memory: Fix up coalesced_io_del not working for KVM

Peter Xu qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- 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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4memory: Split zones when do coalesced_io_del()memory.c+35 -140 replies
2/4memory: Remove has_coalesced_range countermemory.c+0 -140 replies
3/4memory: Refactor memory_region_clear_coalescingmemory.c+5 -50 replies
4/4memory: Fix up memory_region_{add|del}_coalescingmemory.c+17 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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(-)
Signature · 1 line
2.21.0