The patch titled Subject: mm-mmap-introduce-unlock_range-for-code-cleanup-fix has been added to the -mm tree. Its filename is mm-mmap-introduce-unlock_range-for-code-cleanup-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-mmap-introduce-unlock_range-for-code-cleanup-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-mmap-introduce-unlock_range-for-code-cleanup-fix.patch 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 and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-mmap-introduce-unlock_range-for-code-cleanup-fix tweak code layout Cc: Liam Howlett <liam.howlett@xxxxxxxxxx> Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/mmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/mm/mmap.c~mm-mmap-introduce-unlock_range-for-code-cleanup-fix +++ a/mm/mmap.c @@ -2802,8 +2802,8 @@ int split_vma(struct mm_struct *mm, stru return __split_vma(mm, vma, addr, new_below); } -static inline -void unlock_range(struct vm_area_struct *start, unsigned long limit) +static inline void +unlock_range(struct vm_area_struct *start, unsigned long limit) { struct mm_struct *mm = start->vm_mm; struct vm_area_struct *tmp = start; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm.patch mm-gup-pack-has_pinned-in-mmf_has_pinned-checkpatch-fixes.patch mm-memcg-optimize-user-context-object-stock-access-checkpatch-fixes.patch mm-improve-mprotectrw-efficiency-on-pages-referenced-once-fix.patch mm-mmap-introduce-unlock_range-for-code-cleanup-fix.patch mm-memory_hotplug-disable-memmap_on_memory-when-hugetlb_free_vmemmap-enabled-fix.patch nommu-remove-__gfp_highmem-in-vmalloc-vzalloc-checkpatch-fixes.patch mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables-checkpatch-fixes.patch kernel-forkc-export-kernel_thread-to-modules.patch