Michał Nazarewicz wrote: > In particular, I'll try to figure out what you mean by defragmentation > and see whethe it could be added to CMA. I mean the ability to move allocated buffers to free more contiguous space. To support this in CMA the API(s) would have to change. * A buffer's physical address cannot be used to identify it as the physical address can change. * Pin/unpin functions would have to be added so that you can pin a buffer when hardware uses it. * The allocators needs to be able to inform CMA that they have moved a buffer. This is so that CMA can keep track of what memory is free so that it can supply the free memory to the kernel for temporary use there. /Johan Mossberg NrzǧuƠ{칻&ޖ)i^nrݢj$$~'.),ym %{j+bnץy&bs( u"xmv+,[޶kצj)Z