• wick@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    5 hours ago

    To be clear I don’t know anything about the DMA API, but is it that the rust devs want to change the API to be friendlier to Rust code rather than translate it? Couldn’t they make like a library or something instead?

    • azdle@news.idlestate.org
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      3 hours ago

      No, this is fallout from a patchset adding exactly the rust library you suggest to use the DMA library. And despite this only having changes in the rust/kernel tree, the maintainer of kernel/dma showed up to NAK the patch just because he doesn’t like the idea of rust code in the kernel.

      Original Patch Set Thread: https://lore.kernel.org/lkml/[email protected]/