Skip to content

remove add/del page to lru functions

[email protected] linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm: remove page_is_file_lru functioninclude/linux/mm_inline.h include/trace/events/vmscan.h mm/compaction.c +8 more+23 -273 replies
2/5mm: remove __clear_page_lru_flags()include/linux/mm_inline.h mm/swap.c mm/vmscan.c+3 -80 replies
3/5mm: remove add_page_to_lru_list() functioninclude/linux/mm_inline.h mm/swap.c mm/vmscan.c+5 -110 replies
4/5mm: remove add_page_to_lru_list_tail()include/linux/mm_inline.h mm/swap.c+1 -70 replies
5/5mm: remove del_page_from_lru_list()include/linux/mm_inline.h mm/compaction.c mm/mlock.c +2 more+9 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] remove add/del page to lru functions

From: Alex Shi <[email protected]>

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 <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Naoya Horiguchi <[email protected]>
Cc Yu Zhao <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Johannes Weiner <[email protected]>

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(-)
Signature · 1 line
2.25.1