Contiguous memory allocation for passing buffers between app & drivers?
Contiguous memory allocation for passing buffers between app & drivers?
Posted Jul 25, 2010 11:10 UTC (Sun) by mina86 (guest, #68442)In reply to: Contiguous memory allocation for passing buffers between app & drivers? by gnu
Parent article: Contiguous memory allocation for drivers
As a matter of fact, some time ago we have provided a solution for mapping physically-contiguous memory blocks to user space (including using such a buffer as SysV shared memory which is handy for X11) and then passing them back to devices (that was PMM and UPBuffer). It has also been completely agnostic to the way memory block is allocated as well as provided a “shadow buffer” if user provided buffer was not contiguous and a cache coherency control. If it'll became apparent that such features are needed part of the old solution can be incorporated in a new framework.