mbox series

[0/4] Remove page_idle and page_young wrappers

Message ID 20240402201252.917342-1-willy@infradead.org (mailing list archive)
Headers show
Series Remove page_idle and page_young wrappers | expand

Message

Matthew Wilcox April 2, 2024, 8:12 p.m. UTC
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(-)