projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f0b747
)
mm/mmap: fix obsolete comment of find_extend_vma
author
Miaohe Lin
<linmiaohe@huawei.com>
Sat, 9 Jul 2022 09:25:27 +0000
(17:25 +0800)
committer
akpm
<akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:14:48 +0000
(17:14 -0700)
mmget_still_valid() has already been removed via commit
4d45e75a9955
("mm:
remove the now-unnecessary mmget_still_valid() hack"). Update the
corresponding comment.
Link:
https://lkml.kernel.org/r/20220709092527.47778-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c
patch
|
blob
|
history
diff --git
a/mm/mmap.c
b/mm/mmap.c
index edf27a2789a20e113a4ff564f399af13885c67fc..d529837bc8c3b9432fc2bb872400ff0e3cc46696 100644
(file)
--- a/
mm/mmap.c
+++ b/
mm/mmap.c
@@
-2541,7
+2541,6
@@
find_extend_vma(struct mm_struct *mm, unsigned long addr)
vma = find_vma_prev(mm, addr, &prev);
if (vma && (vma->vm_start <= addr))
return vma;
- /* don't alter vm_end if the coredump is running */
if (!prev || expand_stack(prev, addr))
return NULL;
if (prev->vm_flags & VM_LOCKED)