[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4b456734-f3f1-0e41-eb3b-ad1b06068dac@web.de>
Date: Mon, 11 May 2020 16:32:50 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Qian Cai <cai@....pw>, kvm@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Alex Williamson <alex.williamson@...hat.com>,
Cornelia Huck <cohuck@...hat.com>
Subject: Re: [PATCH] vfio/pci: Fix memory leaks of eventfd context in
vfio_pci_release()
> 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
Powered by blists - more mailing lists