From: Andi Kleen Date: Tue, 30 May 2006 20:47:45 +0000 (+0200) Subject: [PATCH] x86_64: Fix stack/mmap randomization for compat tasks X-Git-Tag: v2.6.17-rc6~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ae53cd496d36db5f25e6f84b8b9fe7e675999a1;p=pandora-kernel.git [PATCH] x86_64: Fix stack/mmap randomization for compat tasks ia32_setup_arg_pages would ignore the passed in random stack top and use its own static value. Now it uses the 8bit of randomness native i386 would use too. This indirectly fixes mmap randomization for 32bit processes too, which depends on the stack randomization. Should also give slightly better virtual cache colouring and possibly better performance with HyperThreading. Signed-off-by: Andi Kleen Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed