[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: DMA API issues
    At Mon, 21 Jun 2004 20:26:39 -0700 (PDT),
    Linus Torvalds wrote:
    > On Mon, 21 Jun 2004, Linus Torvalds wrote:
    > >
    > > The argument at some point was that some architectures may not even _have_
    > > a "struct page" for DMA memory, since it's not "normal" memory (ie "slow
    > > memory" on m68k). However, I thought we all agreed that such a "struct
    > > page" could be furnished if that architecture wants so support mmap'ing.
    > .. which is not to say that we shouldn't have a "pci_mmap_pages()" thing
    > _too_. Pretty clearly the easiest interface often is to just map the pages
    > at mmap() time, and then we should just have a helper function to do that.
    > I thought we did one already, but hey, maybe not.

    I don't think we have such.

    Russell has once proposed a similar one (but not pci-specific), and I
    believe it makes sense for many drivers. We can hide the
    architecture-specific cache handling inside the helper function, too.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:04    [W:0.019 / U:165.692 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site