LWN.net Logo

best fit?

best fit?

Posted Jul 25, 2010 10:38 UTC (Sun) by mina86 (subscriber, #68442)
In reply to: best fit? by ncm
Parent article: Contiguous memory allocation for drivers

CMA has been designed with flexibility in mind. Adding allocators is a straight-forward matter. Best fit was provided as an example and something to fill the void (without the allocator one wouldn't be able to use CMA after all).

Moreover, while testing we have discovered that best-fit works “just fine” for us. Having said that, I'm not saying that in the future I, or someone else, won't work on a better allocator.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds