Hello,
On Monday, May 02, 2011 10:23 PM Arnd Bergmann wrote:
(snipped)
For CMA, I've looked at the patches again, and they clearly do far too much at once. I agree that we need something better to back contiguous allocations, especially when we want them to be outside of the kernel linear mapping.
Please note that main (core) CMA functionality is just the following 4 functions:
cma_create()/cma_destroy() for creating CMA memory area and cm_alloc()/cm_free() for allocating and freeing a buffer.
cma-region.h API and respective vb2 allocator has been provided only for testing purposes as a drop in replacement for our older solution. It allowed us to test the latest version with multimedia drivers on a real hardware.
Best regards