Question: why dma has priority over cpu?
Answer: DMA seems to have priority because when the DMA transfer is not happening, the CPU has the memory bus all the time. ... On modern processors, this has to do with transferring data between the cache and memory via the memory controller. The CPU cores can continue to process instructions and access cache.