From: Andrew Morton Date: Wed, 7 Jun 2023 18:58:24 +0000 (-0700) Subject: mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=468d63f9049db9eb408cc569ee003b087d74a269;p=users%2Fjedix%2Flinux-maple.git mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix tidy up comment layout Cc: David Stevens Signed-off-by: Andrew Morton --- diff --git a/mm/shmem.c b/mm/shmem.c index a77cdebf12061..0d1ce70bce380 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -1085,10 +1085,12 @@ whole_folios: truncate_inode_folio(mapping, folio); } else if (truncate_inode_partial_folio(folio, lstart, lend)) { /* - * If we split a page, reset the loop so that we - * pick up the new sub pages. Otherwise the THP - * was entirely dropped or the target range was - * zeroed, so just continue the loop as is. + * If we split a page, reset the loop so + * that we pick up the new sub pages. + * Otherwise the THP was entirely + * dropped or the target range was + * zeroed, so just continue the loop as + * is. */ if (!folio_test_large(folio)) { folio_unlock(folio);