
Dynamic DMA mapping using the generic device The Linux Kernel documentation
However, to beportable, device driver writers may not assume that such an IOMMUexists. Many drivers need lots of small DMA-coherent memory regions for DMAdescriptors or I/O buffers. Rather than alloca ...