Re: [PATCH] iommu: exynos: tell kmemleak to ignore 2nd level page tables

From: Joerg Roedel
Date: Mon May 11 2015 - 12:50:17 EST


On Fri, May 08, 2015 at 05:05:44PM -0700, Dmitry Torokhov wrote:
> From: Colin Cross <ccross@xxxxxxxxxxx>
>
> The pointers to the 2nd level page tables are converted to 1st level
> page table entries, which means kmemleak can't find them and assumes
> they have been leaked. Call kmemleak_ignore on the 2nd level page
> tables to prevent them from showing up in kmemleak reports.
>
> Signed-off-by: Colin Cross <ccross@xxxxxxxxxxx>
> Signed-off-by: Dmitry Torokhov <dtor@xxxxxxxxxxxx>
> ---
> drivers/iommu/exynos-iommu.c | 1 +
> 1 file changed, 1 insertion(+)

Applied to arm/exynos, thanks.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/