From: Andrew Morton Date: Fri, 7 Feb 2025 00:34:29 +0000 (-0800) Subject: mm-madvise-remove-redundant-mmap_lock-operations-from-process_madvise-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f7e137632c1cc1179f7d9b0f957cef0c117711d8;p=users%2Fjedix%2Flinux-maple.git mm-madvise-remove-redundant-mmap_lock-operations-from-process_madvise-fix update comment, per Lorenzo Cc: David Hildenbrand Cc: Davidlohr Bueso Cc: Liam R. Howlett Cc: Lorenzo Stoakes Cc: SeongJae Park Cc: Shakeel Butt Cc: Vlastimil Babka Signed-off-by: Andrew Morton --- diff --git a/mm/madvise.c b/mm/madvise.c index b48da55bea221..6ecead476a809 100644 --- a/mm/madvise.c +++ b/mm/madvise.c @@ -1804,7 +1804,7 @@ static ssize_t vector_madvise(struct mm_struct *mm, struct iov_iter *iter, * 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. */