]> www.infradead.org Git - users/dwmw2/qemu.git/commit
migration/multifd: Remove pages->allocated
authorFabiano Rosas <farosas@suse.de>
Tue, 27 Aug 2024 17:45:50 +0000 (14:45 -0300)
committerFabiano Rosas <farosas@suse.de>
Tue, 3 Sep 2024 19:24:34 +0000 (16:24 -0300)
commit171056ec91bf6c895864d11857dd3add1f565492
tree6881736937b5977d0f92c556de4f26784a1e3a4d
parent90fa121c6c072c374ed5514fbc602039bb0ee878
migration/multifd: Remove pages->allocated

This value never changes and is always the same as page_count. We
don't need a copy of it per-channel plus one in the extra slot. Remove
it.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
migration/multifd.c
migration/multifd.h