All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] shmem-open-code-the-page-cache-lookup-in-shmem_get_folio_gfp-fix.patch removed from -mm tree
@ 2023-04-06  2:28 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-04-06  2:28 UTC (permalink / raw)
  To: mm-commits, willy, konishi.ryusuke, hch, agruenba, hughd, akpm


The quilt patch titled
     Subject: shmem-open-code-the-page-cache-lookup-in-shmem_get_folio_gfp-fix
has been removed from the -mm tree.  Its filename was
     shmem-open-code-the-page-cache-lookup-in-shmem_get_folio_gfp-fix.patch

This patch was dropped because it was folded into shmem-open-code-the-page-cache-lookup-in-shmem_get_folio_gfp.patch

------------------------------------------------------
From: Hugh Dickins <hughd@google.com>
Subject: shmem-open-code-the-page-cache-lookup-in-shmem_get_folio_gfp-fix
Date: Sun, 19 Mar 2023 22:23:36 -0700 (PDT)

Adjust the new comment line: shmem folio may have been swapped out.

Link: https://lkml.kernel.org/r/af178ebb-1076-a38c-1dc1-2a37ccce4a3@google.com
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/shmem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/shmem.c~shmem-open-code-the-page-cache-lookup-in-shmem_get_folio_gfp-fix
+++ a/mm/shmem.c
@@ -1904,7 +1904,7 @@ repeat:
 	if (folio) {
 		folio_lock(folio);
 
-		/* Has the page been truncated? */
+		/* Has the folio been truncated or swapped out? */
 		if (unlikely(folio->mapping != mapping)) {
 			folio_unlock(folio);
 			folio_put(folio);
_

Patches currently in -mm which might be from hughd@google.com are

shmem-shmem_get_partial_folio-use-filemap_get_entry.patch
shmem-open-code-the-page-cache-lookup-in-shmem_get_folio_gfp.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-06  2:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-06  2:28 [folded-merged] shmem-open-code-the-page-cache-lookup-in-shmem_get_folio_gfp-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.