Re: [RFC][PATCH 1/3] contigous big page allocator

From: Felipe Contreras
Date: Thu Oct 14 2010 - 08:32:08 EST


On Thu, Oct 14, 2010 at 10:07 AM, FUJITA Tomonori
<fujita.tomonori@xxxxxxxxxxxxx> wrote:
> On Wed, 13 Oct 2010 09:01:43 +0200
> Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>
>> KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> writes:
>> >
>> > What this wants to do:
>> > Â allocates a contiguous chunk of pages larger than MAX_ORDER.
>> > Â for device drivers (camera? etc..)
>>
>> I think to really move forward you need a concrete use case
>> actually implemented in tree.
>
> As already pointed out, some embeded drivers need physcailly
> contignous memory. Currenlty, they use hacky tricks (e.g. playing with
> the boot memory allocators). There are several proposals for this like
> adding a new kernel memory allocator (from samsung).
>
> It's ideal if the memory allocator can handle this, I think.

Not only contiguous, but sometimes also coherent.

--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/