{
  "id": 2339294,
  "title": "The Linux DMA API: Coherent and Streaming Mappings Explained",
  "url": "https://urgent.news/2026/08/21/the-linux-dma-api-coherent-and-streaming-mappings-explained",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-21T08:32:40.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/raghu_bharadwaj_404e60eb0c/the-linux-dma-api-coherent-and-streaming-mappings-explained-1ak9"
  },
  "original_language": "en",
  "account": "The Linux DMA API provides a way for devices and CPUs to communicate without the CPU having to manage cache coherency. It does this by setting up valid DMA addresses for buffers and handling any necessary cache maintenance. Drivers should use the DMA API correctly to avoid corruption, especially on different hardware platforms.",
  "summary": "The Linux DMA API exists because the address a device uses is not the address the CPU uses, and because on most embedded SoCs the CPU cache is not kept in step with device accesses. Coherent mappings ( dma_alloc_coherent() ) give you memory that both sides can read and write without explicit cache maintenance, and are meant for small, long-lived structures such as descriptor rings. Streaming…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}