Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator framework

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michał Nazarewicz
Date: Thursday, August 19, 2010 - 6:08 pm

On Thu, 19 Aug 2010 17:15:12 +0200, FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> wrote:


What kind of integration do you mean?  I see three levels:

1. Integration on API level meaning that some kind of existing API is used
    instead of new cma_*() calls.  CMA adds notion of devices and memory
    types which is new to all the other APIs (coherent has notion of devices
    but that's not enough).  This basically means that no existing API can be
    used for CMA.  On the other hand, removing notion of devices and memory
    types would defeat the whole purpose of CMA thus destroying the solution
    that CMA provides.

2. Reuse of memory pools meaning that memory reserved by CMA can then be
    used by other allocation mechanisms.  This is of course possible.  For
    instance coherent could easily be implemented as a wrapper to CMA.
    This is doable and can be done in the future after CMA gets more
    recognition.

3. Reuse of algorithms meaning that allocation algorithms used by other
    allocators will be used with CMA regions.  This is doable as well and
    can be done in the future.

-- 
Best regards,                                        _     _
| Humble Liege of Serenely Enlightened Majesty of  o' \,=./ `o
| Computer Science,  Michał "mina86" Nazarewicz       (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH/RFCv3 0/6] The Contiguous Memory Allocator framework, Michal Nazarewicz, (Fri Aug 6, 6:22 am)
Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fram ..., Konrad Rzeszutek Wilk, (Thu Aug 19, 7:47 am)
Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fram ..., Michał Nazarewicz, (Thu Aug 19, 5:50 pm)
Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fram ..., Michał Nazarewicz, (Thu Aug 19, 6:08 pm)
Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fram ..., Michał Nazarewicz, (Thu Aug 19, 11:38 pm)
Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fram ..., Michał Nazarewicz, (Fri Aug 20, 1:10 am)
Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fram ..., Michał Nazarewicz, (Fri Aug 20, 3:54 am)