All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] mm-pass-task-and-mm-to-do_madvise-fix-fix.patch removed from -mm tree
@ 2020-04-30  1:03 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-04-30  1:03 UTC (permalink / raw)
  To: akpm, axboe, jannh, minchan, mm-commits


The patch titled
     Subject: mm-pass-task-and-mm-to-do_madvise-fix-fix
has been removed from the -mm tree.  Its filename was
     mm-pass-task-and-mm-to-do_madvise-fix-fix.patch

This patch was dropped because it was folded into mm-pass-task-and-mm-to-do_madvise.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-pass-task-and-mm-to-do_madvise-fix-fix

fix it for upstream changes

Cc: Jann Horn <jannh@google.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/madvise.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/mm/madvise.c~mm-pass-task-and-mm-to-do_madvise-fix-fix
+++ a/mm/madvise.c
@@ -1108,8 +1108,8 @@ int do_madvise(struct task_struct *targe
 		 * but for now we have the mmget_still_valid()
 		 * model.
 		 */
-		if (!mmget_still_valid(current->mm)) {
-			up_write(&current->mm->mmap_sem);
+		if (!mmget_still_valid(mm)) {
+			up_write(mm->mmap_sem);
 			return -EINTR;
 		}
 	} else {
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

mm-memcg-fix-error-return-value-of-mem_cgroup_css_alloc-fix.patch
squashfs-migrate-from-ll_rw_block-usage-to-bio-fix.patch
drivers-tty-serial-sh-scic-suppress-uninitialized-var-warning.patch
mm.patch
mm-slub-fix-corrupted-freechain-in-deactivate_slab-fix.patch
mm-gupc-updating-the-documentation-fix.patch
mm-memcg-decouple-elowmin-state-mutations-from-protection-checks-fix.patch
mm-remove-__vmalloc_node_flags_caller-fix.patch
mm-switch-the-test_vmalloc-module-to-use-__vmalloc_node-fix.patch
mm-switch-the-test_vmalloc-module-to-use-__vmalloc_node-fix-fix.patch
mm-remove-vmalloc_user_node_flags-fix.patch
mm-add-debug_wx-support-fixpatch-added-to-mm-tree.patch
riscv-support-debug_wx-fix.patch
mm-replace-zero-length-array-with-flexible-array-member-fix.patch
mm-hugetlb-fix-a-typo-in-comment-manitained-maintained-v2-checkpatch-fixes.patch
linux-next-rejects.patch
linux-next-fix.patch
mm-pass-task-and-mm-to-do_madvise.patch
mm-pass-task-and-mm-to-do_madvise-fix-fix-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-30  1:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  1:03 [folded-merged] mm-pass-task-and-mm-to-do_madvise-fix-fix.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.