Re: Whats the rvmalloc() story?

From: Anton Blanchard (anton@linuxcare.com.au)
Date: Sat Feb 17 2001 - 02:46:34 EST

  • Next message: Jonathan Morton: "re: XOR [ was: Linux stifles innovation... ]"

     
    > I note that at least 5 device drivers have similar implementations
    > of rvmalloc()/rvfree() et al:
    >
    > ieee1394/video1394.c
    > usb/ibmcam.c
    > usb/ov511.c
    > media/video/bttv-driver.c
    > media/video/cpia.c
    >
    > rvmalloc()/rvfree() are functions that are used to allocate large
    > amounts of physically non-contiguous kernel virtual memory that will
    > then be mmap()'ed into a user process.

    I had to rewrite rvmalloc and friends in the bttv driver to support the
    new pci dynamic mapping interface. This sounds like a good time to clean
    up all these multiple definitions.

    Anton
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Feb 17 2001 - 02:53:18 EST