lkml.org 
[lkml]   [2010]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC][PATCH 1/3] contigous big page allocator
From
On Thu, 14 Oct 2010 09:24:21 +0200
Andi Kleen <andi@firstfloor.org> 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@firstfloor.org> wrote:
> >
> > > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> 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/


\
 
 \ /
  Last update: 2010-10-14 10:39    [W:0.174 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site