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

From: FUJITA Tomonori
Date: Thu Oct 14 2010 - 04:36:48 EST


On Thu, 14 Oct 2010 09:24:21 +0200
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> On Thu, Oct 14, 2010 at 04:07:12PM +0900, FUJITA Tomonori 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
>
> Are any of those in mainline?

The tricks or the proposals?

I think that at least one mainline driver in arm uses such trick but I
can't recall the name. Better to ask on the arm mainling list. Also I
heard that the are some out-of-tree patches about this.


I think that any such proposal hasn't merged yet. If you are looking
for such examples, here's one:

http://lwn.net/Articles/401107/
--
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/