* [folded-merged] mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix.patch removed from -mm tree
@ 2023-12-13 1:19 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-12-13 1:19 UTC (permalink / raw)
To: mm-commits, stevensd, akpm, akpm
The quilt patch titled
Subject: mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix
has been removed from the -mm tree. Its filename was
mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix.patch
This patch was dropped because it was folded into mm-shmem-fix-race-in-shmem_undo_range-w-thp.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix
Date: Wed Jun 7 11:58:24 AM PDT 2023
tidy up comment layout
Cc: David Stevens <stevensd@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/shmem.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
--- a/mm/shmem.c~mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix
+++ a/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);
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-shmem-fix-race-in-shmem_undo_range-w-thp.patch
mm-memcg-restore-subtree-stats-flushing-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-13 1:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-13 1:19 [folded-merged] mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.