]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm: remove unused page_is_file_lru() function
authorYe Liu <liuye@kylinos.cn>
Mon, 23 Mar 2026 09:03:04 +0000 (17:03 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 5 Apr 2026 20:53:36 +0000 (13:53 -0700)
commit54fdcbfe1cbd1d8f06d0c57c8cc43ddcc1cd421c
tree8b33c4b55902a03cd573a709845dca855dd9f446
parent3f74e30d857bd546c32eba78739dc85dabc6aae1
mm: remove unused page_is_file_lru() function

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.

Link: https://lkml.kernel.org/r/20260323090305.798057-1-ye.liu@linux.dev
Signed-off-by: Ye Liu <liuye@kylinos.cn>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm_inline.h