mbox series

[-next,v2,0/7] mm: convert page_idle/damon to use folios

Message ID 20221227122714.161224-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series mm: convert page_idle/damon to use folios | expand

Message

Kefeng Wang Dec. 27, 2022, 12:27 p.m. UTC
v2:
- drop unsafe pfn_to_online_folio(), convert page_idle_get_page() and 
damon_get_page() to return a folio after grab a refence
- convert damon hugetlb related functions
- rebased on next-20221226.

Kefeng Wang (7):
  mm: page_idle: Convert page idle to use folios
  mm: damon: introduce 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()
  mm: damon: vaddr: convert hugetlb related function to use folios

 mm/damon/ops-common.c | 34 +++++++++++++------------
 mm/damon/ops-common.h |  2 +-
 mm/damon/paddr.c      | 59 +++++++++++++++++++------------------------
 mm/damon/vaddr.c      | 38 ++++++++++++++--------------
 mm/page_idle.c        | 45 ++++++++++++++++-----------------
 5 files changed, 86 insertions(+), 92 deletions(-)