linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] mm: convert to folio_isolate_movable()
@ 2024-08-29 14:54 Kefeng Wang
  2024-08-29 14:54 ` [PATCH v2 1/5] mm: compaction: get reference before non LRU movable folio isolation Kefeng Wang
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Kefeng Wang @ 2024-08-29 14:54 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David Hildenbrand, Matthew Wilcox, Baolin Wang, Zi Yan,
	Vishal Moola, linux-mm, Kefeng Wang

Convert to the new folio_isolate_movable() to get rid of
isolate_movable_page().

Based on next-20240829.

v2:
- get page reference before isolate_movable_page, per Baolin
- since isolate_movable_page() callers with an elevated refcount
  of folio, directly use folio_get() and check folio reference in
  folio_isolate_movable(), per Vishal

Kefeng Wang (5):
  mm: compaction: get reference before non LRU movable folio isolation
  mm: migrate: add folio_isolate_movable()
  mm: migrate: convert to folio_isolate_movable()
  mm: compaction: convert to folio_isolate_movable()
  mm: migrate: remove isolate_movable_page()

 include/linux/migrate.h |  5 +++--
 mm/compaction.c         | 38 ++++++++++++++++----------------
 mm/migrate.c            | 49 +++++++++++++++++++----------------------
 3 files changed, 45 insertions(+), 47 deletions(-)

-- 
2.27.0



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

end of thread, other threads:[~2024-09-05  8:01 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29 14:54 [PATCH v2 0/5] mm: convert to folio_isolate_movable() Kefeng Wang
2024-08-29 14:54 ` [PATCH v2 1/5] mm: compaction: get reference before non LRU movable folio isolation Kefeng Wang
2024-08-31 14:04   ` Matthew Wilcox
2024-09-01 22:54     ` Andrew Morton
2024-09-02 10:44     ` Kefeng Wang
2024-09-04  9:57       ` Kefeng Wang
2024-09-04 19:02       ` Matthew Wilcox
2024-09-05  4:39         ` Kefeng Wang
2024-09-02  7:57   ` Baolin Wang
2024-08-29 14:54 ` [PATCH v2 2/5] mm: migrate: add folio_isolate_movable() Kefeng Wang
2024-09-04 19:05   ` Matthew Wilcox
2024-09-05  8:01     ` Kefeng Wang
2024-08-29 14:54 ` [PATCH v2 3/5] mm: migrate: convert to folio_isolate_movable() Kefeng Wang
2024-08-29 14:54 ` [PATCH v2 4/5] mm: compaction: " Kefeng Wang
2024-08-29 14:54 ` [PATCH v2 5/5] mm: migrate: remove isolate_movable_page() Kefeng Wang
2024-08-29 20:19 ` [PATCH v2 0/5] mm: convert to folio_isolate_movable() Vishal Moola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).