+ fs-execc-call-arch_pick_mmap_layout-only-once.patch added to -mm tree
Subsystems (2)
Subject: + fs-execc-call-arch_pick_mmap_layout-only-once.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 14 Jan 2014 15:00:39 -0800
The patch titled
Subject: fs/exec.c: call arch_pick_mmap_layout() only once
has been added to the -mm tree. Its filename is
fs-execc-call-arch_pick_mmap_layout-only-once.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/fs-execc-call-arch_pick_mmap_layout-only-once.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/fs-execc-call-arch_pick_mmap_layout-only-once.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
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 | 1 - 1 file changed, 1 deletion(-)
fs/exec.c renamed from fs/exec.c~fs-execc-call-arch_pick_mmap_layout-only-once +0 -1
@@ -842,7 +842,6 @@ static int exec_mmap(struct mm_struct *m tsk->active_mm = mm;activate_mm (active_mm, mm);task_unlock (tsk); -arch_pick_mmap_layout (mm);if (old_mm) {up_read (&old_mm->mmap_sem);BUG_ON (active_mm != old_mm);
_
Patches currently in -mm which might be from [email protected] are
add-generic-fixmaph.patch
um-use-generic-fixmaph.patch fs-execc-call-arch_pick_mmap_layout-only-once.patch linux-next.patch checkpatchpl-check-for-function-declarations-without-arguments.patch