[lkml]   [2005]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Factor in buddy allocator alignment requirements in node memory alignment

    --On Monday, May 16, 2005 12:55:39 -0700 christoph <> wrote:

    > 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.

    Now that it's fixed it is meant to notice that the start of the zone is
    not aligned, and not key off that, but the aligment itself ... the start
    and end roundoff bits shouldn't throw the rest out of alignment, as long
    as we do the calculation sensibly for how we regroup buddies.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-05-16 23:15    [W:0.020 / U:2.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site