Re: iommu/amd: bug report: page table memory leak

2022-02-09 Thread Daniel Jordan
t; + amd_iommu_domain_clr_pt_root(dom); > + > + /* Make changes visible to IOMMUs */ > + amd_iommu_domain_update(dom); > + > free_page_list(freelist); > } Thanks! That fixes the leak. Feel free to add Reported-by: Daniel Jordan Tested-by: Daniel Jo

Re: iommu/amd: bug report: page table memory leak

2022-02-02 Thread Daniel Jordan
Friendly ping. Any thoughts about this report? thanks, Daniel On Tue, Jan 18, 2022 at 02:47:20PM -0500, Daniel Jordan wrote: > Hi, > > I've hit a memory leak while testing qemu v6.2.0-rc4 on an AMD EPYC 7J13 > (Milan) system. Starting an almost 1T guest, the leak is ove

iommu/amd: bug report: page table memory leak

2022-01-18 Thread Daniel Jordan
Hi, I've hit a memory leak while testing qemu v6.2.0-rc4 on an AMD EPYC 7J13 (Milan) system. Starting an almost 1T guest, the leak is over 1.5G per qemu invocation. I haven't checked whether the leak is proportional to guest size. It happens with a vfio device, and only when the guest's memory