@@ -162,6 +162,18 @@ config DOUBLEFAULT
option saves about 4k and might cause you much additional grey
+ default n
+ bool "Enable debugging of DMA-API usage"
+ depends on X86
+ Enable this option to debug the use of the DMA API by device drivers.
+ With this option you will be able to detect common bugs in device
+ drivers like double-freeing of DMA mappings or freeing mappings that
+ were never allocated.
+ This option causes a performance degredation. Use only if you want to
+ debug device drivers. If unsure, say N.
bool "Enable IOMMU debugging"
depends on GART_IOMMU && DEBUG_KERNEL