Re: [PATCH] vfio/pci: Fix memory leaks of eventfd context in vfio_pci_release()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux