Skip to contentSkip to conversation

mm-remove-unused-page_is_file_lru-function.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Mar 29

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: remove unused page_is_file_lru() function
has been removed from the -mm tree. Its filename was
mm-remove-unused-page_is_file_lru-function.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Ye Liu <[email protected]>
Subject: mm: remove unused page_is_file_lru() function
Date: Mon, 23 Mar 2026 17:03:04 +0800

The page_is_file_lru() wrapper function is no longer used. The kernel has moved to folio-based APIs, and all callers should use folio_is_file_lru() instead.

Remove the obsolete page-based wrapper function.

---

 include/linux/mm_inline.h |    5 -----
 1 file changed, 5 deletions(-)
include/linux/mm_inline.h renamed from include/linux/mm_inline.h~mm-remove-unused-page_is_file_lru-function +0 -5
@@ -30,11 +30,6 @@ static inline int folio_is_file_lru(cons
 	return !folio_test_swapbacked(folio);
 }
 
-static inline int page_is_file_lru(struct page *page)
-{
-	return folio_is_file_lru(page_folio(page));
-}
-
 static __always_inline void __update_lru_size(struct lruvec *lruvec,
 				enum lru_list lru, enum zone_type zid,
 				long nr_pages)

_

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