From 4efb7141136421fe7777b268af594f2f3e660c1f Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 6 Feb 2025 16:34:29 -0800 Subject: [PATCH] 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 --- mm/madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/madvise.c b/mm/madvise.c index b48da55bea22..6ecead476a80 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. */ -- 2.50.1