Re: [PATCH] Factor in buddy allocator alignment requirements in node memory alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 16 May 2005, Dave Hansen wrote:

> > Because the buddy allocator is complaining about wrongly allocated zones!
> 
> Just because it complains doesn't mean that anything is actually
> wrong :)
> 
> 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? 

Some present or future hardware device or some other code may find that 
surprising and crash.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux