Re: [PATCH] intel-iommu: Fix leaks in pagetable freeing

2013-10-06 Thread Greg KH
On Wed, Oct 02, 2013 at 10:44:31AM +0200, Borislav Petkov wrote: On Sat, Jun 15, 2013 at 10:27:19AM -0600, Alex Williamson wrote: At best the current code only seems to free the leaf pagetables and the root. If you're unlucky enough to have a large gap (like any QEMU guest with more than

Re: [PATCH] intel-iommu: Fix leaks in pagetable freeing

2013-10-02 Thread Borislav Petkov
: Alex Williamson alex.william...@redhat.com Date: Sat, 15 Jun 2013 10:27:19 -0600 Subject: [PATCH] intel-iommu: Fix leaks in pagetable freeing upstream commit: 3269ee0bd6686baf86630300d528500ac5b516d7 At best the current code only seems to free the leaf pagetables and the root. If you're unlucky

Re: [PATCH] intel-iommu: Fix leaks in pagetable freeing

2013-08-14 Thread Joerg Roedel
On Sat, Jun 15, 2013 at 10:27:19AM -0600, Alex Williamson wrote: At best the current code only seems to free the leaf pagetables and the root. If you're unlucky enough to have a large gap (like any QEMU guest with more than 3G of memory), only the first chunk of leaf pagetables are freed

Re: [PATCH] intel-iommu: Fix leaks in pagetable freeing

2013-08-06 Thread Marcelo Tosatti
On Wed, Jul 24, 2013 at 09:25:19AM -0600, Alex Williamson wrote: This is a pretty massive memory leak, anyone @Intel care? Thanks, Alex On Sat, 2013-06-15 at 10:27 -0600, Alex Williamson wrote: At best the current code only seems to free the leaf pagetables and the root. If you're

Re: [PATCH] intel-iommu: Fix leaks in pagetable freeing

2013-07-24 Thread Alex Williamson
This is a pretty massive memory leak, anyone @Intel care? Thanks, Alex On Sat, 2013-06-15 at 10:27 -0600, Alex Williamson wrote: At best the current code only seems to free the leaf pagetables and the root. If you're unlucky enough to have a large gap (like any QEMU guest with more than 3G

[PATCH] intel-iommu: Fix leaks in pagetable freeing

2013-06-15 Thread Alex Williamson
At best the current code only seems to free the leaf pagetables and the root. If you're unlucky enough to have a large gap (like any QEMU guest with more than 3G of memory), only the first chunk of leaf pagetables are freed (plus the root). This is a massive memory leak. This patch re-writes the