The patch titled Subject: mm.h: fix "mm: Add temporary vma iterator versions of vma_merge(), split_vma(), and __split_vma() has been added to the -mm mm-unstable branch. Its filename is mm-add-temporary-vma-iterator-versions-of-vma_merge-split_vma-and-__split_vma-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-add-temporary-vma-iterator-versions-of-vma_merge-split_vma-and-__split_vma-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Liam Howlett <liam.howlett@xxxxxxxxxx> Subject: mm.h: fix "mm: Add temporary vma iterator versions of vma_merge(), split_vma(), and __split_vma() Date: Mon, 9 Jan 2023 20:53:22 +0000 The extern definition of __split_vma() was removed too early. Re-add it and remove it once the users are all converted. Link: https://lkml.kernel.org/r/20230109205300.955019-1-Liam.Howlett@xxxxxxxxxx Signed-off-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx> Reported-by: SeongJae Park <sj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mm.h | 2 ++ 1 file changed, 2 insertions(+) --- a/include/linux/mm.h~mm-add-temporary-vma-iterator-versions-of-vma_merge-split_vma-and-__split_vma-fix +++ a/include/linux/mm.h @@ -2825,6 +2825,8 @@ extern struct vm_area_struct *vmi_vma_me struct file *, pgoff_t, struct mempolicy *, struct vm_userfaultfd_ctx, struct anon_vma_name *); extern struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *); +extern int __split_vma(struct mm_struct *, struct vm_area_struct *, + unsigned long addr, int new_below); extern int vmi__split_vma(struct vma_iterator *vmi, struct mm_struct *, struct vm_area_struct *, unsigned long addr, int new_below); extern int split_vma(struct mm_struct *, struct vm_area_struct *, _ Patches currently in -mm which might be from liam.howlett@xxxxxxxxxx are nommu-fix-memory-leak-in-do_mmap-error-path.patch nommu-fix-do_munmap-error-path.patch nommu-fix-split_vma-map_count-error.patch mm-add-temporary-vma-iterator-versions-of-vma_merge-split_vma-and-__split_vma-fix.patch maple_tree-remove-gfp_zero-from-kmem_cache_alloc-and-kmem_cache_alloc_bulk.patch