diff options
| author | Peter Xu <peterx@redhat.com> | 2024-02-02 18:28:38 +0800 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-02-05 14:42:10 +0800 |
| commit | 836eca47f62f9f6d5b8e9b6fedfc3539775c4e2e (patch) | |
| tree | 6ed29ec2518c52d43950696fed172e2eb716fc56 /scripts/qapi/expr.py | |
| parent | 15f3f21d598148895c33b6fc41e29777cf6ad992 (diff) | |
| download | focaccia-qemu-836eca47f62f9f6d5b8e9b6fedfc3539775c4e2e.tar.gz focaccia-qemu-836eca47f62f9f6d5b8e9b6fedfc3539775c4e2e.zip | |
migration/multifd: Postpone reset of MultiFDPages_t
Now we reset MultiFDPages_t object in the multifd sender thread in the middle of the sending job. That's not necessary, because the "*pages" struct will not be reused anyway until pending_job is cleared. Move that to the end after the job is completed, provide a helper to reset a "*pages" object. Use that same helper when free the object too. This prepares us to keep using p->pages in the follow up patches, where we may drop p->normal[]. Reviewed-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20240202102857.110210-5-peterx@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions