diff options
author | Richard Weinberger <richard@nod.at> | 2014-01-24 00:55:58 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-24 01:37:02 +0100 |
commit | 3b96d7db3b6dc99d207bca50037274d22e48dea5 (patch) | |
tree | 1387602443da709099ff8886591911dd8097a66f /Documentation/sysctl/kernel.txt | |
parent | exec: avoid propagating PF_NO_SETAFFINITY into userspace child (diff) | |
download | linux-3b96d7db3b6dc99d207bca50037274d22e48dea5.tar.xz linux-3b96d7db3b6dc99d207bca50037274d22e48dea5.zip |
fs/exec.c: call arch_pick_mmap_layout() only once
Currently both setup_new_exec() and flush_old_exec() issue a call to
arch_pick_mmap_layout(). As setup_new_exec() and flush_old_exec() are
always called pairwise arch_pick_mmap_layout() is called twice.
This patch removes one call from setup_new_exec() to have it only called
once.
Signed-off-by: Richard Weinberger <richard@nod.at>
Tested-by: Pat Erley <pat-lkml@erley.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
0 files changed, 0 insertions, 0 deletions