lkml.org 
[lkml]   [2010]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 05/25] lmb: Factor the lowest level alloc function
From
Date
On Tue, 2010-05-11 at 14:30 +0200, Thomas Gleixner wrote:
> > @@ -396,33 +406,24 @@ u64 __init __lmb_alloc_base(u64 size, u64
> align, u64 max_addr)
> > if (max_addr == LMB_ALLOC_ANYWHERE)
> > max_addr = LMB_REAL_LIMIT;
> >
> > + /* Pump up max_addr */
> > + if (max_addr == LMB_ALLOC_ANYWHERE)
> > + max_addr = ~(u64)0;
> > +
>
> That if is pretty useless as you set max_addr to LMB_REAL_LIMIT
> right above.

This is a mismerge/mis-rebase of one of my patches actually. I'll dbl
check what's up but I think the first hunk should go along with
LMB_REAL_LIMIT in favor of the new default limit thing. But we first
need to make sure the default is set sensibly and I haven't fixed all
archs yet.

I'll dbl check what's up there.

Cheers,
Benm.




\
 
 \ /
  Last update: 2010-05-12 10:35    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site