linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH 0/2] kmemleak: Fix some false positives with special scan
@ 2010-05-14  7:16 Hiroshi DOYU
  2010-05-14  7:16 ` [PATCH 1/2] " Hiroshi DOYU
  2010-05-14  7:16 ` [PATCH 2/2] kmemleak: test: Add a special scan test case Hiroshi DOYU
  0 siblings, 2 replies; 25+ messages in thread
From: Hiroshi DOYU @ 2010-05-14  7:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: catalin.marinas, Hiroshi DOYU

Hi,

I always get the false positives for the iommu 1st level page table
since it stores the pointer to the 2nd level page table, but it is
converted to a physical address with some attribute
bits. "kmemleak_ignore" can cover this problem, but will loose the
advantage of powerful kmemleak detection. So I experimentally
implement the APIs to register the special scan area with the address
conversion function. I'm not sure if this APIs make sense or not, but
it works for our OMAP IOMMU case now.

Any comment would be appreciated.

Hiroshi DOYU (2):
  kmemleak: Fix some false positives with special scan
  kmemleak: test: Add a special scan test case

 include/linux/kmemleak.h   |    4 ++
 mm/Makefile                |    2 +-
 mm/kmemleak-special-test.c |   89 ++++++++++++++++++++++++++++++++++++++++++++
 mm/kmemleak.c              |   83 +++++++++++++++++++++++++++++++++++++++-
 4 files changed, 174 insertions(+), 4 deletions(-)
 create mode 100644 mm/kmemleak-special-test.c


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2010-09-17 17:29 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-14  7:16 [RFC][PATCH 0/2] kmemleak: Fix some false positives with special scan Hiroshi DOYU
2010-05-14  7:16 ` [PATCH 1/2] " Hiroshi DOYU
2010-05-31 16:41   ` Phil Carmody
2010-06-01 10:25   ` [PATCH v2 0/3] kmemleak: Fix false positive " Hiroshi DOYU
2010-06-02 10:01     ` Catalin Marinas
2010-06-02 11:34       ` Hiroshi DOYU
2010-06-02 12:28         ` Hiroshi DOYU
2010-06-02 14:12         ` Catalin Marinas
2010-06-03  9:54           ` Hiroshi DOYU
2010-06-18  6:04         ` [RFC][PATCH 0/1] kmemleak: Fix false positive with alias Hiroshi DOYU
2010-06-22 15:36           ` Phil Carmody
2010-06-28 14:46           ` Catalin Marinas
2010-06-29  4:44             ` Hiroshi DOYU
2010-08-10 15:49               ` Hiroshi DOYU
2010-08-27  6:12                 ` Hiroshi DOYU
2010-08-30 20:30                   ` Paul E. McKenney
2010-09-17 13:14                     ` Catalin Marinas
2010-09-17 16:18                 ` Catalin Marinas
2010-09-17 17:06                   ` Hiroshi DOYU
2010-09-17 17:28                     ` Phil Carmody
2010-06-18  6:04         ` [PATCH 1/1] " Hiroshi DOYU
2010-06-01 10:25   ` [PATCH v2 1/3] kmemleak: Fix false positives with special scan Hiroshi DOYU
2010-06-01 10:25   ` [PATCH v2 2/3] kmemleak: Add special scan test case Hiroshi DOYU
2010-06-01 10:25   ` [PATCH v2 3/3] omap iommu: kmemleak: Fix false positive with special scan Hiroshi DOYU
2010-05-14  7:16 ` [PATCH 2/2] kmemleak: test: Add a special scan test case Hiroshi DOYU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).