Re: Whats the rvmalloc() story?

Anton Blanchard (anton@linuxcare.com.au)
Sat, 17 Feb 2001 18:46:34 +1100



> 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/