[PATCH 3/7] qemu: Delete thread-context objects at domain startup

Martin Kletzander mkletzan at redhat.com
Tue Nov 15 10:03:02 UTC 2022


On Mon, Nov 14, 2022 at 04:35:31PM +0100, Michal Privoznik wrote:
>While technically thread-context objects can be reused, we only
>use them (well, will use them) to pin memory allocation threads.
>Therefore, once we connect to QEMU monitor, all memory (with
>prealloc=yes) was allocated and thus these objects are no longer
>needed and can be removed. For on demand allocation the TC object
>is left behind.
>

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>

and I think it would make more sense if you squashed it into the
previous commit, but I'm fine with either.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20221115/c8c96ce6/attachment-0001.sig>


More information about the libvir-list mailing list