]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/exynos: Tell kmemleak to ignore 2nd level page tables
authorColin Cross <ccross@android.com>
Sat, 9 May 2015 00:05:44 +0000 (17:05 -0700)
committerJoerg Roedel <jroedel@suse.de>
Mon, 11 May 2015 16:47:52 +0000 (18:47 +0200)
commitdc3814f404dfb82fc40f403725ad0548c9541d09
tree8b7ce0788f3a31d09a2421d65755a1dffa6d2f3c
parent030bbdbf4c833bc69f502eae58498bc5572db736
iommu/exynos: Tell kmemleak to ignore 2nd level page tables

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@android.com>
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c