Re: [PATCH 03/10] x86: add initialization code for DMA-APIdebugging

From: Ingo Molnar
Date: Sun Nov 23 2008 - 08:04:49 EST



Another generic suggestion:

Why not just replace dma_ops with a debug version? That way it could
be a runtime feature based off the already existing DMA op callbacks,
without any extra overhead.

I'd prefer such a solution much more with an x86 architecture
maintainer hat on, because this way distributions could enable this
debug feature (with the facility being off by default) without
worrying about the wrapping overhead.

This would basically be a special variant of stacked DMA ops support.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/