diff options
| author | Miaohe Lin <[email protected]> | 2020-08-07 06:23:34 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-07 18:33:27 +0000 |
| commit | d70cec8983241a6aafadf78e2d65bbafac87ab6a (patch) | |
| tree | c8b3cafa4ce9f3d7df68b0396a87eb6c6841949f /mm/page_alloc.c | |
| parent | arm64/mm: enable vmem_altmap support for vmemmap mappings (diff) | |
| download | kernel-d70cec8983241a6aafadf78e2d65bbafac87ab6a.tar.gz kernel-d70cec8983241a6aafadf78e2d65bbafac87ab6a.zip | |
mm: mmap: merge vma after call_mmap() if possible
The vm_flags may be changed after call_mmap() because drivers may set some
flags for their own purpose. As a result, we failed to merge the adjacent
vma due to the different vm_flags as userspace can't pass in the same one.
Try to merge vma after call_mmap() to fix this issue.
Signed-off-by: Hongxiang Lou <[email protected]>
Signed-off-by: Miaohe Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions
