lkml.org 
[lkml]   [2004]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [BUG] get_unmapped_area() change -> non booting machine

    --On Thursday, February 12, 2004 08:36:48 -0800 Linus Torvalds
    <torvalds@osdl.org> wrote:

    > One option is to mark the brk() VMA's as being grow-up (which they are),
    > and make get_unmapped_area() realize that it should avoid trying to
    > allocate just above grow-up segments or just below grow-down segments.
    > That's still something of a special case, but at least it's not "magic"
    > any more, now it's more of a "makes sense".

    So what's a reasonable value for 'not just above' and 'not just below'? We
    could skip the entire hole, which would give us reasonable behavior for the
    brk area, but it wouldn't work so well for the area below the stack. I'm
    sure if we define a 'reasonable' value to skip someone somewhere will
    collide with it.

    Dave McCracken

    -
    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-03-22 14:00    [W:6.102 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site