Rename mm/swap.c to mm/folio_lru.c so the filename better matches the code's main responsibility. This keeps the implementation split from swap-specific code without changing the published LRU helper interfaces. Signed-off-by: Jianyue Wu --- mm/Makefile | 2 +- mm/{swap.c => folio_lru.c} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/Makefile b/mm/Makefile index eff9f9e7e061..5f712f9bbe73 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -50,7 +50,7 @@ endif obj-y := filemap.o mempool.o oom_kill.o fadvise.o \ maccess.o page-writeback.o folio-compat.o \ - readahead.o swap.o truncate.o vmscan.o shrinker.o \ + readahead.o folio_lru.o truncate.o vmscan.o shrinker.o \ shmem.o util.o mmzone.o vmstat.o backing-dev.o \ mm_init.o percpu.o slab_common.o \ compaction.o show_mem.o \ diff --git a/mm/swap.c b/mm/folio_lru.c similarity index 99% rename from mm/swap.c rename to mm/folio_lru.c index e4b3dadaa6dc..7dab6a544d94 100644 --- a/mm/swap.c +++ b/mm/folio_lru.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * linux/mm/swap.c + * linux/mm/folio_lru.c * * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds */ -- 2.43.0