All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] vfio/pci: Fix memory leaks of eventfd context in vfio_pci_release()
@ 2020-05-11 14:32 ` Markus Elfring
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Elfring @ 2020-05-11 14:32 UTC (permalink / raw)
  To: Qian Cai, kvm
  Cc: linux-kernel, kernel-janitors, Alex Williamson, Cornelia Huck

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] vfio/pci: Fix memory leaks of eventfd context in vfio_pci_release()
@ 2020-05-11 14:32 ` Markus Elfring
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Elfring @ 2020-05-11 14:32 UTC (permalink / raw)
  To: Qian Cai, kvm
  Cc: linux-kernel, kernel-janitors, Alex Williamson, Cornelia Huck

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-11 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 14:32 [PATCH] vfio/pci: Fix memory leaks of eventfd context in vfio_pci_release() Markus Elfring
2020-05-11 14:32 ` Markus Elfring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.