Patch "mm/mmap.c: replace do_brk with do_brk_flags in comment of insert_vm_struct()" has been added to the 5.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    mm/mmap.c: replace do_brk with do_brk_flags in comment of insert_vm_struct()

to the 5.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     mm-mmap.c-replace-do_brk-with-do_brk_flags-in-commen.patch
and it can be found in the queue-5.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit f9090efc13cb0a4f4db3f5742585db5b32cacf19
Author: Liao Pingfang <liao.pingfang@xxxxxxxxxx>
Date:   Tue Oct 13 16:54:18 2020 -0700

    mm/mmap.c: replace do_brk with do_brk_flags in comment of insert_vm_struct()
    
    [ Upstream commit 8332326e8e47fbc35711433419c31f610153dd58 ]
    
    Replace do_brk with do_brk_flags in comment of insert_vm_struct(), since
    do_brk was removed in following commit.
    
    Fixes: bb177a732c4369 ("mm: do not bug_on on incorrect length in __mm_populate()")
    Signed-off-by: Liao Pingfang <liao.pingfang@xxxxxxxxxx>
    Signed-off-by: Yi Wang <wang.yi59@xxxxxxxxxx>
    Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
    Link: https://lkml.kernel.org/r/1600650778-43230-1-git-send-email-wang.yi59@xxxxxxxxxx
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/mm/mmap.c b/mm/mmap.c
index bdd19f5b994e0..7a8987aa69962 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -3227,7 +3227,7 @@ int insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma)
 	 * By setting it to reflect the virtual start address of the
 	 * vma, merges and splits can happen in a seamless way, just
 	 * using the existing file pgoff checks and manipulations.
-	 * Similarly in do_mmap and in do_brk.
+	 * Similarly in do_mmap and in do_brk_flags.
 	 */
 	if (vma_is_anonymous(vma)) {
 		BUG_ON(vma->anon_vma);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux