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

From: Dave McCracken
Date: Thu Feb 12 2004 - 12:34:38 EST



--On Thursday, February 12, 2004 09:17:44 -0800 Linus Torvalds
<torvalds@xxxxxxxx> wrote:

> it it uses RLIMIT_STACK plus a maximum limit (although it's a _big_
> maximum limit, much bigger than we'd use for BSS). So we could do
> something similar for the BSS, with obviously a smaller hard limit (on a
> 64-bit architecture a gigabyte is fine, but ..)

Hmm... would it work to just do something like 'if the previous vma is
grow-up then allocate from the top of the hole'? It'd eliminate the need
for a hard limit and should pretty much stay out of the way of BSS.

Dave McCracken

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