diff options
author | David Hildenbrand <david@redhat.com> | 2020-02-05 17:34:00 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-02-06 03:40:26 -0500 |
commit | 6c22dc61c76b7e7d355f1697ba0ecf26d1334ba6 (patch) | |
tree | 6b85e47f905472c5a1e1c5c54d9391936562fd7a /drivers/rtc | |
parent | 6e9826e77249355c09db6ba41cd3f84e89f4b614 (diff) | |
download | linux-6c22dc61c76b7e7d355f1697ba0ecf26d1334ba6.tar.gz linux-6c22dc61c76b7e7d355f1697ba0ecf26d1334ba6.tar.bz2 linux-6c22dc61c76b7e7d355f1697ba0ecf26d1334ba6.zip |
virtio-balloon: Fix memory leak when unloading while hinting is in progress
When unloading the driver while hinting is in progress, we will not
release the free page blocks back to MM, resulting in a memory leak.
Fixes: 86a559787e6f ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT")
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Wei Wang <wei.w.wang@intel.com>
Cc: Liang Li <liang.z.li@intel.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20200205163402.42627-2-david@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions