* [folded-merged] mm-always-lock-new-vma-before-inserting-into-vma-tree-fix.patch removed from -mm tree
@ 2023-08-21 20:28 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-08-21 20:28 UTC (permalink / raw)
To: mm-commits, surenb, Liam.Howlett, jannh, akpm, akpm
The quilt patch titled
Subject: mm-always-lock-new-vma-before-inserting-into-vma-tree-fix
has been removed from the -mm tree. Its filename was
mm-always-lock-new-vma-before-inserting-into-vma-tree-fix.patch
This patch was dropped because it was folded into mm-always-lock-new-vma-before-inserting-into-vma-tree.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-always-lock-new-vma-before-inserting-into-vma-tree-fix
Date: Mon Aug 14 12:13:22 PM PDT 2023
fix reject fixing in vma_link(), per Jann
Cc: Jann Horn <jannh@google.com>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/mmap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/mm/mmap.c~mm-always-lock-new-vma-before-inserting-into-vma-tree-fix
+++ a/mm/mmap.c
@@ -401,10 +401,10 @@ static int vma_link(struct mm_struct *mm
if (vma_iter_prealloc(&vmi, vma))
return -ENOMEM;
- vma_iter_store(&vmi, vma);
-
vma_start_write(vma);
+ vma_iter_store(&vmi, vma);
+
if (vma->vm_file) {
mapping = vma->vm_file->f_mapping;
i_mmap_lock_write(mapping);
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix.patch
mm-always-lock-new-vma-before-inserting-into-vma-tree.patch
mm-fix-get_mctgt_type-kernel-doc-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-21 20:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21 20:28 [folded-merged] mm-always-lock-new-vma-before-inserting-into-vma-tree-fix.patch removed from -mm tree Andrew Morton
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.