Skip to content

KVM: arm/arm64: vgic: A couple of memory leak fixes

Dave Martin kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroyvirt/kvm/arm/vgic/vgic-its.c+1 -00 replies
2/2KVM: arm/arm64: vgic: Fix irq refcount leak in kvm_vgic_set_owner()virt/kvm/arm/vgic/vgic.c+1 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: arm/arm64: vgic: A couple of memory leak fixes

While using kmemleak to verify that the KVM SVE series wasn't contributing any new memory leaks, I hit a couple of existing leaks to do with vGIC irqs and the vGIC ITS that appear to have been there for a while.

See the individual patches for details.

I'm not familiar with the affected code, so I may have overlooked something.

Tested with qemu on ThunderX2.

Dave Martin (2):
KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy
KVM: arm/arm64: vgic: Fix irq refcount leak in kvm_vgic_set_owner()

 virt/kvm/arm/vgic/vgic-its.c | 1 +
 virt/kvm/arm/vgic/vgic.c     | 1 +
 2 files changed, 2 insertions(+)
Signature · 6 lines
2.1.4

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm