linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Convert deactivate_page() to folio_deactivate()
@ 2022-12-08 20:34 Vishal Moola (Oracle)
  2022-12-08 20:35 ` [PATCH v3 1/4] mm/memory: Add vm_normal_folio() Vishal Moola (Oracle)
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Vishal Moola (Oracle) @ 2022-12-08 20:34 UTC (permalink / raw)
  To: linux-mm; +Cc: damon, linux-kernel, akpm, sj, Vishal Moola (Oracle)

Deactivate_page() has already been converted to use folios. This patch
series modifies the callers of deactivate_page() to use folios. It also
introduces vm_normal_folio() to assist with folio conversions, and
converts deactivate_page() to folio_deactivate() which takes in a folio.

---
v3:
  Introduce vm_normal_folio() wrapper function to return a folio
  Fix madvise missing folio_mapcount()

v2:
  Fix a compilation issue
  Some minor rewording of comments/descriptions

Vishal Moola (Oracle) (4):
  mm/memory: Add vm_normal_folio()
  madvise: Convert madvise_cold_or_pageout_pte_range() to use folios
  mm/damon: Convert damon_pa_mark_accessed_or_deactivate() to use folios
  mm/swap: Convert deactivate_page() to folio_deactivate()

 include/linux/mm.h   |  2 +
 include/linux/swap.h |  2 +-
 mm/damon/paddr.c     | 11 ++++--
 mm/madvise.c         | 92 ++++++++++++++++++++++----------------------
 mm/memory.c          | 10 +++++
 mm/swap.c            | 14 +++----
 6 files changed, 72 insertions(+), 59 deletions(-)

-- 
2.38.1



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

end of thread, other threads:[~2022-12-08 21:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08 20:34 [PATCH v3 0/4] Convert deactivate_page() to folio_deactivate() Vishal Moola (Oracle)
2022-12-08 20:35 ` [PATCH v3 1/4] mm/memory: Add vm_normal_folio() Vishal Moola (Oracle)
2022-12-08 20:56   ` Matthew Wilcox
2022-12-08 20:35 ` [PATCH v3 2/4] madvise: Convert madvise_cold_or_pageout_pte_range() to use folios Vishal Moola (Oracle)
2022-12-08 20:57   ` Matthew Wilcox
2022-12-08 20:35 ` [PATCH v3 3/4] mm/damon: Convert damon_pa_mark_accessed_or_deactivate() " Vishal Moola (Oracle)
2022-12-08 20:57   ` Matthew Wilcox
2022-12-08 21:52   ` SeongJae Park
2022-12-08 20:35 ` [PATCH v3 4/4] mm/swap: Convert deactivate_page() to folio_deactivate() Vishal Moola (Oracle)
2022-12-08 20:59   ` Matthew Wilcox
2022-12-08 21:56   ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox