projects
/
users
/
jedix
/
linux-maple.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbcbbd0
)
mm/mmap: Don't reset ma_neighbour in brk() as it won't be used
author
Liam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 4 Feb 2021 01:13:38 +0000
(20:13 -0500)
committer
Liam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 4 Feb 2021 01:13:38 +0000
(20:13 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c
patch
|
blob
|
history
diff --git
a/mm/mmap.c
b/mm/mmap.c
index e8a29566375994ee2cca810707394eaca34ecfed..15bf76973e3167c456dbc2fe1f5e06859a193e67 100644
(file)
--- a/
mm/mmap.c
+++ b/
mm/mmap.c
@@
-272,10
+272,8
@@
SYSCALL_DEFINE1(brk, unsigned long, brk)
if (brkvma->vm_start >= oldbrk)
goto out; // Trying to map over another vma.
- if (brkvma->vm_end <= min_brk)
{
+ if (brkvma->vm_end <= min_brk)
brkvma = NULL;
- ma_neighbour = mas;
- }
}
/* Ok, looks good - let it rip. */