Re: Whats the rvmalloc() story?

Anton Blanchard
2001-02-17T07:51:40Z

> 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