Skip to content

Remove page_idle and page_young wrappers

Matthew Wilcox (Oracle) linux-fsdevel linux-mm 1 version Applied

Status from this message: [merged mm-stable] mm-generate-page_idle_flag-definitions.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4proc: Convert clear_refs_pte_range to use a foliofs/proc/task_mmu.c+8 -81 replyApplied
2/4proc: Convert smaps_account() to use a foliofs/proc/task_mmu.c+9 -71 replyApplied
3/4mm: Remove page_idle and page_young wrappersinclude/linux/page_idle.h+0 -251 replyApplied
4/4mm: Generate PAGE_IDLE_FLAG definitionsinclude/linux/page-flags.h include/linux/page_idle.h+10 -361 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDavid Hildenbrand
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Remove page_idle and page_young wrappers

There are only a couple of places left using the page wrappers for idle & young tracking. Convert the two users in proc and then we can remove the wrappers. That enables the further simplification of autogenerating the definitions when CONFIG_PAGE_IDLE_FLAG is disabled.

Matthew Wilcox (Oracle) (4):
proc: Convert clear_refs_pte_range to use a folio
proc: Convert smaps_account() to use a folio
mm: Remove page_idle and page_young wrappers
mm: Generate PAGE_IDLE_FLAG definitions

 fs/proc/task_mmu.c         | 32 +++++++++++---------
 include/linux/page-flags.h |  9 +++++-
 include/linux/page_idle.h  | 62 ++------------------------------------
 3 files changed, 27 insertions(+), 76 deletions(-)
Signature · 1 line
2.43.0