4 ms·
DMA allocations have no problems with caches, but in some situations you can get a performance boost by marking as write-combined if the CPU only writes to the
by andars 9y ago
DMA allocations have no problems with caches, but in some situations you can get a performance boost by marking as write-combined if the CPU only writes to the memory once and then hands it off. This results in less cache being occupied with useless data and can be beneficial due to coalesced writes, but will result in horrifically slow CPU reads from the region.
I am suggesting that the author conflated "DMA allocation" with "write-combined allocation".