[PATCH v2 0/2] Refactor of vma_merge and new merge call

From: Jakub Matěna
Date: Thu Jun 02 2022 - 10:56:38 EST


I am currently working on my master's thesis trying to increase
number of merges of VMAs currently failing because of page offset
incompatibility and difference in their anon_vmas. The following
refactor and added merge call included in this series is just two
smaller upgrades I created along the way.

The rest of the work is still being worked on but was send to mailing
list as a RFC:
https://lore.kernel.org/all/20220516125405.1675-1-matenajakub@xxxxxxxxx/

This patch series is based on tag v5.18. This is third version,
I added a mremap expand merge test, added a comment and new variables to
the merge call and based the series on a newer kernel version.

Jakub Matěna (2):
mm: refactor of vma_merge()
mm: add merging after mremap resize

mm/mmap.c | 87 +++++++++++++++++++++++------------------------------
mm/mremap.c | 8 +++--
2 files changed, 43 insertions(+), 52 deletions(-)

--
2.35.1