The patch titled Subject: mm-brk-downgrade-mmap_sem-to-read-when-shrinking-fix has been removed from the -mm tree. Its filename was mm-brk-downgrade-mmap_sem-to-read-when-shrinking-fix.patch This patch was dropped because it was folded into mm-brk-downgrade-mmap_sem-to-read-when-shrinking.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-brk-downgrade-mmap_sem-to-read-when-shrinking-fix tweak comment Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Laurent Dufour <ldufour@xxxxxxxxxxxxxxxxxx> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Cc: Yang Shi <yang.shi@xxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/mm/mmap.c~mm-brk-downgrade-mmap_sem-to-read-when-shrinking-fix +++ a/mm/mmap.c @@ -243,9 +243,9 @@ SYSCALL_DEFINE1(brk, unsigned long, brk) */ if (brk <= mm->brk) { /* - * mm->brk need to be protected by write mmap_sem, update it - * before downgrading mmap_sem. - * When __do_munmap fail, it will be restored from origbrk. + * mm->brk must to be protected by write mmap_sem so update it + * before downgrading mmap_sem. When __do_munmap() fails, + * mm->brk will be restored from origbrk. */ mm->brk = brk; retval = __do_munmap(mm, newbrk, oldbrk-newbrk, &uf, true); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-brk-downgrade-mmap_sem-to-read-when-shrinking.patch memory_hotplug-free-pages-as-higher-order-fix.patch mm-calculate-deferred-pages-after-skipping-mirrored-memory-fix.patch mm-gup_benchmark-time-put_page-fix.patch tools-gup_benchmark-allow-user-specified-file-fix.patch mm-thp-fix-madv_dontneed-vs-migrate_misplaced_transhuge_page-race-condition-fix.patch