Skip to contentSkip to conversation

fs-execc-call-arch_pick_mmap_layout-only-once.patch removed from -mm tree

failures [email protected] 1 participant 1 message Jan 6, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: [failures] fs-execc-call-arch_pick_mmap_layout-only-once.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 06 Jan 2014 12:50:28 -0800

The patch titled
Subject: fs/exec.c: call arch_pick_mmap_layout() only once
has been removed from the -mm tree. Its filename was
fs-execc-call-arch_pick_mmap_layout-only-once.patch

This patch was dropped because it had testing failures

------------------------------------------------------
From: Richard Weinberger <[email protected]>
Subject: 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.

---

 fs/exec.c |    2 --
 1 file changed, 2 deletions(-)
fs/exec.c renamed from fs/exec.c~fs-execc-call-arch_pick_mmap_layout-only-once +0 -1
diff -puN fs/exec.c~fs-execc-call-arch_pick_mmap_layout-only-once fs/exec.c
@@ -1108,8 +1108,6 @@ EXPORT_SYMBOL(would_dump);
 
 void setup_new_exec(struct linux_binprm * bprm)
 {
-	arch_pick_mmap_layout(current->mm);