Skip to contentSkip to conversation

mm-vmscan-allow-arbitrary-sized-pages-to-be-paged-out.patch removed from -mm tree

merged [email protected] 1 participant 1 message Oct 16, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/vmscan: allow arbitrary sized pages to be paged out
has been removed from the -mm tree. Its filename was
mm-vmscan-allow-arbitrary-sized-pages-to-be-paged-out.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: "Matthew Wilcox (Oracle)" <[email protected]>
Subject: mm/vmscan: allow arbitrary sized pages to be paged out

Remove the assumption that a compound page has HPAGE_PMD_NR pins from the page cache.

---

 mm/vmscan.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscan-allow-arbitrary-sized-pages-to-be-paged-out +1 -2
@@ -725,8 +725,7 @@ static inline int is_page_cache_freeable
 	 * that isolated the page, the page cache and optional buffer
 	 * heads at page->private.
 	 */
-	int page_cache_pins = PageTransHuge(page) && PageSwapCache(page) ?
-		HPAGE_PMD_NR : 1;
+	int page_cache_pins = thp_nr_pages(page);
 	return page_count(page) - page_has_private(page) == 1 + page_cache_pins;
 }
 

_

Patches currently in -mm which might be from [email protected] are

mm-update-the-documentation-for-vfree.patch