Re: [PATCH] powerpc/mm: remove hack in mmap randomize layout

2011-10-18 Thread Dan McGee
On Mon, Oct 17, 2011 at 4:51 PM, David Miller wrote: > From: Dan McGee > Date: Mon, 17 Oct 2011 15:17:36 -0500 > >> Since commit 8a0a9bd4db63bc45e301, this comment in mmap_rnd() does not >> hold true as the value returned by get_random_int() will in fact be >> different every single call. Remove

Re: [PATCH] powerpc/mm: remove hack in mmap randomize layout

2011-10-17 Thread David Miller
From: Dan McGee Date: Mon, 17 Oct 2011 18:05:23 -0500 > Since commit 8a0a9bd4db63bc45e301, this comment in mmap_rnd() does not > hold true as the value returned by get_random_int() will in fact be > different every single call. Remove the comment and simplify the code > back to its original desir

Re: [PATCH] powerpc/mm: remove hack in mmap randomize layout

2011-10-17 Thread David Miller
From: Dan McGee Date: Mon, 17 Oct 2011 17:43:11 -0500 > Aha, I wasn't aware this was also being done elsewhere as there was no > comment to tip me off. I found the one in > arch/sparc/kernel/sys_sparc_64.c (mmap_rnd) and have fixed that > locally and will resend, but I'm not seeing get_random_int

Re: [PATCH] powerpc/mm: remove hack in mmap randomize layout

2011-10-17 Thread David Miller
From: Dan McGee Date: Mon, 17 Oct 2011 15:17:36 -0500 > Since commit 8a0a9bd4db63bc45e301, this comment in mmap_rnd() does not > hold true as the value returned by get_random_int() will in fact be > different every single call. Remove the comment and simplify the code > back to its original desir