dma-debug: remove broken dma memory leak detection for 2.6.30
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 24 Apr 2009 12:35:57 +0000 (14:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 26 Apr 2009 16:23:56 +0000 (18:23 +0200)
The feature needs some more work because the notfier which is used to
check for pending allocations is called before the device drivers
->remove() function. Therefore this feature reports false positives.

A real fix for this issue is to introduce a new notifier event which sent
_after_ the driver has deinitialized itself. That will done for the next
kernel version.

[ Impact: reduce the scope of CONFIG_DMA_API_DEBUG=y checks ]

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
LKML-Reference: <1240576557-22442-1-git-send-email-joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found