Re: Patch 4/6 randomize the stack pointer

From: Arjan van de Ven
Date: Thu Jan 27 2005 - 16:55:53 EST



> I feel the need to point something out here.
>
> [TEXT][BRK][MMAP---------------][STACK]
>
> Here's a normal layout.
>
> [TEXT][BRK][MMAP-------][STACK][MMAP--]
>
> Is this one any worse?

yes.

oracle, db2 and similar like to mmap 2Gb or more *in one chunk*.
moving the stack in the middle means the biggest chunk they can mmap
shrinks.


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