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)
commit314eeac9e35d8b934dd7a09ed3a8e00d41977b84
treee59218338ee9d62c02c50f4cdec1f1ca1b81aeb9
parent992d7ced75322307035a0e94074eb7188612a680
dma-debug: remove broken dma memory leak detection for 2.6.30

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>
lib/dma-debug.c