* [merged] mm-move-clearing-of-page-mapping-to-page_cache_tree_delete.patch removed from -mm tree
@ 2017-11-16 20:03 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-16 20:03 UTC (permalink / raw)
To: ak, dave.hansen, david, jack, kirill.shutemov, mgorman, mm-commits
The patch titled
Subject: mm: move clearing of page->mapping to page_cache_tree_delete()
has been removed from the -mm tree. Its filename was
mm-move-clearing-of-page-mapping-to-page_cache_tree_delete.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jan Kara <jack@suse.cz>
Subject: mm: move clearing of page->mapping to page_cache_tree_delete()
Clearing of page->mapping makes sense in page_cache_tree_delete() as well
and it will help us with batching things this way.
Link: http://lkml.kernel.org/r/20171010151937.26984-6-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/filemap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -puN mm/filemap.c~mm-move-clearing-of-page-mapping-to-page_cache_tree_delete mm/filemap.c
--- a/mm/filemap.c~mm-move-clearing-of-page-mapping-to-page_cache_tree_delete
+++ a/mm/filemap.c
@@ -165,6 +165,9 @@ static void page_cache_tree_delete(struc
workingset_update_node, mapping);
}
+ page->mapping = NULL;
+ /* Leave page->index set: truncation lookup relies upon it */
+
if (shadow) {
mapping->nrexceptional += nr;
/*
@@ -250,9 +253,6 @@ void __delete_from_page_cache(struct pag
inode_to_wb(mapping->host));
}
page_cache_tree_delete(mapping, page, shadow);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-16 20:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-16 20:03 [merged] mm-move-clearing-of-page-mapping-to-page_cache_tree_delete.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).