From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net (shards.monkeyblade.net [198.137.202.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E6EAAB70C2 for ; Tue, 18 Oct 2011 10:11:30 +1100 (EST) Date: Mon, 17 Oct 2011 19:09:23 -0400 (EDT) Message-Id: <20111017.190923.1589986048255373174.davem@davemloft.net> To: dpmcgee@gmail.com Subject: Re: [PATCH] powerpc/mm: remove hack in mmap randomize layout From: David Miller In-Reply-To: <1318892723-19401-1-git-send-email-dpmcgee@gmail.com> References: <20111017.185357.1185691091043314919.davem@davemloft.net> <1318892723-19401-1-git-send-email-dpmcgee@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 desired form. > > This reverts commit a5adc91a4b44b5d1 which is no longer necessary and > also fixes the sparc code that copied this same adjustment. > > Signed-off-by: Dan McGee For sparc part: Acked-by: David S. Miller