mbox series

[-next,0/8] mm: converted page idle and damon to use folios

Message ID 20221213092735.187924-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series mm: converted page idle and damon to use folios | expand

Message

Kefeng Wang Dec. 13, 2022, 9:27 a.m. UTC
Introduce pfn_to_online_folio() to convert page idle and damon feature
to use folios.

For page idle feature, should we rename file name and Kconfig to folio
too, options?

Note: this is based on next-2022113, and some context depends on
patchset[1], please help us to review, thanks.

[1] https://lore.kernel.org/linux-mm/20221207230152.22938-1-vishal.moola@gmail.com/

Kefeng Wang (8):
  mm: memory_hotplug: add pfn_to_online_folio()
  mm: page_idle: Convert page idle to use folios
  mm: huge_memory: convert split_huge_pages_all() to use folios
  mm: damon: add temporary damon_get_folio()
  mm: damon: convert damon_ptep/pmdp_mkold() to use folios
  mm: damon: paddr: convert damon_pa_*() to use folios
  mm: damon: vaddr: convert damon_young_pmd_entry() to use folio
  mm: damon: remove unneed damon_get_page()

 include/linux/memory_hotplug.h |  7 +++
 mm/damon/ops-common.c          | 38 +++++++-------
 mm/damon/ops-common.h          |  3 +-
 mm/damon/paddr.c               | 44 +++++++---------
 mm/damon/vaddr.c               | 20 ++++----
 mm/huge_memory.c               | 22 ++++----
 mm/page_idle.c                 | 91 ++++++++++++++++------------------
 7 files changed, 112 insertions(+), 113 deletions(-)