diff options
| author | Vlastimil Babka <vbabka@suse.cz> | 2023-03-09 12:12:58 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-05 19:42:50 -0700 |
| commit | 4bfbe371dbc508411162d1a62e3211ed9f47f614 (patch) | |
| tree | 1376937afe09a5b093a3e62fc34cc092c51af329 /mm/mremap.c?id=4bfbe371dbc508411162d1a62e3211ed9f47f614 | |
| parent | 714965ca8252f880d794f9524c6eae5f97f408c1 (diff) | |
mm/mremap: simplify vma expansion again
This effectively reverts d014cd7c1c35 ("mm, mremap: fix mremap() expanding
for vma's with vm_ops->close()"). After the recent changes, vma_merge()
is able to handle the expansion properly even when the vma being expanded
has a vm_ops->close operation, so we don't need to special case it
anymore.
Link: https://lkml.kernel.org/r/20230309111258.24079-11-vbabka@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Lorenzo Stoakes <lstoakes@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mremap.c?id=4bfbe371dbc508411162d1a62e3211ed9f47f614')
0 files changed, 0 insertions, 0 deletions
