linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/1] Convert is_migrate_isolate_page() to is_migrate_isolate_folio()
@ 2025-05-06 18:38 nifan.cxl
  2025-05-06 18:38 ` [RFC 1/1] mm: " nifan.cxl
  2025-05-06 19:08 ` [RFC 0/1] " Matthew Wilcox
  0 siblings, 2 replies; 5+ messages in thread
From: nifan.cxl @ 2025-05-06 18:38 UTC (permalink / raw)
  To: muchun.song, willy, osalvador
  Cc: mcgrof, a.manzanares, dave, akpm, david, linux-mm, linux-kernel,
	nifan.cxl, Fan Ni

From: Fan Ni <fan.ni@samsung.com>

Sending out this patch per Matthew Wilcox's suggestion 
that we need to convert is_migrate_isolate_page() to use folio
https://lore.kernel.org/linux-mm/Z_XmUrbxKtYmzmJ6@casper.infradead.org/

However, when looking into the code, I have noticed that among the uers
of is_migrate_isolate_page(), in most cases the page passed in is from a 
a pageblock. 
I am not sure how we should proceed with these cases.
Should we deal with pageblock or just leave it as it is and only do the page
to folio conversion for the pages within?

So This RFC is mainly sent for collecting input about how to move forward.



Fan Ni (1):
  mm: Convert is_migrate_isolate_page() to is_migrate_isolate_folio()

 include/linux/page-isolation.h |  6 +++---
 mm/hugetlb.c                   |  2 +-
 mm/page_isolation.c            | 10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

-- 
2.47.2



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

end of thread, other threads:[~2025-05-06 19:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-06 18:38 [RFC 0/1] Convert is_migrate_isolate_page() to is_migrate_isolate_folio() nifan.cxl
2025-05-06 18:38 ` [RFC 1/1] mm: " nifan.cxl
2025-05-06 19:08 ` [RFC 0/1] " Matthew Wilcox
2025-05-06 19:23   ` Fan Ni
2025-05-06 19:35     ` Matthew Wilcox

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