]> Git Repo - linux.git/commit
mm: add merging after mremap resize
authorJakub Matěna <[email protected]>
Fri, 3 Jun 2022 14:57:19 +0000 (16:57 +0200)
committerAndrew Morton <[email protected]>
Tue, 27 Sep 2022 02:46:28 +0000 (19:46 -0700)
commitca3d76b0aa808a06997297d123b66d17b81e5285
treecbca7060ab3c097fab66fd9c96ae816e149ed9a0
parenteef199440df950942b3c7ef2e2de507fd6ced031
mm: add merging after mremap resize

When mremap call results in expansion, it might be possible to merge the
VMA with the next VMA which might become adjacent.  This patch adds
vma_merge call after the expansion is done to try and merge.

[[email protected]: coding-style cleanups]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jakub Matěna <[email protected]>
Reviewed-by: Vlastimil Babka <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: "Kirill A . Shutemov" <[email protected]>
Cc: Liam Howlett <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Peter Zijlstra (Intel) <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Steven Rostedt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/mremap.c
tools/testing/selftests/vm/mremap_test.c
This page took 0.055705 seconds and 4 git commands to generate.