The patch titled Subject: mm-madvise-remove-redundant-mmap_lock-operations-from-process_madvise-fix has been added to the -mm mm-unstable branch. Its filename is mm-madvise-remove-redundant-mmap_lock-operations-from-process_madvise-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-madvise-remove-redundant-mmap_lock-operations-from-process_madvise-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: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-madvise-remove-redundant-mmap_lock-operations-from-process_madvise-fix Date: Thu Feb 6 04:34:29 PM PST 2025 update comment, per Lorenzo Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Davidlohr Bueso <dave@xxxxxxxxxxxx> Cc: Liam R. Howlett <howlett@xxxxxxxxx> Cc: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> Cc: SeongJae Park <sj@xxxxxxxxxx> Cc: Shakeel Butt <shakeel.butt@xxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/madvise.c~mm-madvise-remove-redundant-mmap_lock-operations-from-process_madvise-fix +++ a/mm/madvise.c @@ -1787,7 +1787,7 @@ static ssize_t vector_madvise(struct mm_ * the operation in aggregate, and would be surprising to the * user. * - * As we have already dropped locks, it is safe to just loop and + * We drop and reacquire locks so it is safe to just loop and * try again. We check for fatal signals in case we need exit * early anyway. */ _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-vmscan-extract-calculated-pressure-balance-as-a-function-fix.patch mm-madvise-remove-redundant-mmap_lock-operations-from-process_madvise-fix.patch lib-plistc-add-shortcut-for-plist_requeue-fix.patch