Messages in this thread | | | Subject | Re: [PATCH] vfio/pci: Fix memory leaks of eventfd context in vfio_pci_release() | From | Markus Elfring <> | Date | Mon, 11 May 2020 16:32:50 +0200 |
| |
> Finished a qemu-kvm (-device vfio-pci,host=0001:01:00.0) triggers a few > memory leaks after a while because vfio_pci_set_ctx_trigger_single() > calls eventfd_ctx_fdget() without the matching eventfd_ctx_put() later. > Fix it by calling eventfd_ctx_put() for those memory in > vfio_pci_release() before vfio_device_release(). …
Will a wording fine-tuning become helpful for this change description?
Would you like to add the tag “Fixes” to the commit message?
Regards, Markus
| |