lkml.org 
[lkml]   [2005]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Factor in buddy allocator alignment requirements in node memory alignment
On Mon, 16 May 2005, Dave Hansen wrote:

> > > Do you know which pieces of code actually break if the alignment doesn't
> > > meet what that warning says?
> >
> > I have seen nothing break but 4 MB allocations f.e. will not be allocated
> > on a 4MB boundary with a 2 MB zone alignment. The page allocator always
> > returnes properly aligned pages but 4MB allocations are an exception?
>
> I wasn't aware there was an alignment exception in the allocator for 4MB
> pages. Could you provide some examples?

I never said that there was an aligment exception. The special case for
4MB pages is created by the failure to properly align the zones in
discontig.c.

But may be that is okay? Then we just need to remove the lines that
detect the misalignment in the page allocator.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-16 23:18    [W:0.992 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site