Paul Durrant wrote:
> Christian Kaiser wrote:
>> I wonder if there are cache allocation operations available for DMA memory?
>>
>> What I am searching would be something like kmem_cache_*(9F) but for DMA 
>> memory and not for any kernel memory.
>>
> 
> In a word, no. I did put together a proposal for DMA cache allocators 
> many years ago but never had time to pursue it.

Creating such a cache allocator in the driver is not difficult, but such 
an implementation has no idea if memory is low, and that it should 
release some of the cached blocks if possible.

Would you like to re-vitalize your proposal?

  Joachim

-- 
Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to