• J
    dma-debug: remove broken dma memory leak detection for 2.6.30 · 314eeac9
    Joerg Roedel 提交于
    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: NJoerg 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: NIngo Molnar <mingo@elte.hu>
    314eeac9
dma-debug.c 22.4 KB