]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
userfaultfd-do-not-block-on-locking-a-large-folio-with-raised-refcount-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 26 Feb 2025 21:50:26 +0000 (13:50 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 00:58:48 +0000 (16:58 -0800)
reflow comment to 80 cols, s/end/end up/

Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/userfaultfd.c

index d90acfca64b3c843615279f7cb090a906ff9752b..f5c6b3454f76bac007c43b61f738b1f8d9703ee9 100644 (file)
@@ -1272,11 +1272,11 @@ retry:
 
                        locked = folio_trylock(folio);
                        /*
-                        * We avoid waiting for folio lock with a raised refcount
-                        * for large folios because extra refcounts will result in
-                        * split_folio() failing later and retrying. If multiple
-                        * tasks are trying to move a large folio we can end
-                        * livelocking.
+                        * We avoid waiting for folio lock with a raised
+                        * refcount for large folios because extra refcounts
+                        * will result in split_folio() failing later and
+                        * retrying.  If multiple tasks are trying to move a
+                        * large folio we can end up livelocking.
                         */
                        if (!locked && folio_test_large(folio)) {
                                spin_unlock(src_ptl);