Re: [BUG] get_unmapped_area() change -> non booting machine

From: Benjamin Herrenschmidt
Date: Thu Feb 12 2004 - 15:54:34 EST



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

Though we need a way to represent TASK_UNMAPPED_BASE, no ? (as the
limit above which it's ok).

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/