damon.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 0/8] mm: converted page idle and damon to use folios
@ 2022-12-13  9:27 Kefeng Wang
  2022-12-13  9:27 ` [PATCH -next 1/8] mm: memory_hotplug: add pfn_to_online_folio() Kefeng Wang
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Kefeng Wang @ 2022-12-13  9:27 UTC (permalink / raw)
  To: Andrew Morton, David Hildenbrand, Oscar Salvador, SeongJae Park
  Cc: linux-mm, linux-kernel, damon, vishal.moola, willy, Kefeng Wang

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(-)

-- 
2.35.3


^ permalink raw reply	[flat|nested] 24+ messages in thread