[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220120131024.502877-1-alexs@kernel.org>
Date: Thu, 20 Jan 2022 21:10:19 +0800
From: alexs@...nel.org
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Alex Shi <alexs@...nel.org>, Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>,
Naoya Horiguchi <naoya.horiguchi@....com>,
Yu Zhao <yuzhao@...gle.com>, Arnd Bergmann <arnd@...db.de>,
Vlastimil Babka <vbabka@...e.cz>,
Mel Gorman <mgorman@...hsingularity.net>,
Johannes Weiner <hannes@...xchg.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: [PATCH 0/5] remove add/del page to lru functions
From: Alex Shi <alexs@...nel.org>
Couple of old page/lru operation funcs are just inline replaced. Remove
them to reduce function name remember and make code simple.
Thanks
Alex
Cc: Steven Rostedt <rostedt@...dmis.org>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Naoya Horiguchi <naoya.horiguchi@....com>
Cc: Yu Zhao <yuzhao@...gle.com>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Vlastimil Babka <vbabka@...e.cz>
Cc: Mel Gorman <mgorman@...hsingularity.net>
Cc: Johannes Weiner <hannes@...xchg.org>
Cc: linux-kernel@...r.kernel.org
Cc: linux-mm@...ck.org
Alex Shi (5):
mm: remove page_is_file_lru function
mm: remove __clear_page_lru_flags()
mm: remove add_page_to_lru_list() function
mm: remove add_page_to_lru_list_tail()
mm: remove del_page_from_lru_list()
include/linux/mm_inline.h | 28 ----------------------------
include/trace/events/vmscan.h | 2 +-
mm/compaction.c | 4 ++--
mm/gup.c | 2 +-
mm/khugepaged.c | 4 ++--
mm/memory-failure.c | 2 +-
mm/memory_hotplug.c | 2 +-
mm/mempolicy.c | 2 +-
mm/migrate.c | 14 +++++++-------
mm/mlock.c | 2 +-
mm/mprotect.c | 2 +-
mm/swap.c | 22 +++++++++++-----------
mm/vmscan.c | 23 ++++++++++++-----------
13 files changed, 41 insertions(+), 68 deletions(-)
--
2.25.1
Powered by blists - more mailing lists