Re: [RFC PATCH 1/4] mm: migrate: Allow misplaced migration without VMA too

From: Bharata B Rao
Date: Thu Mar 06 2025 - 22:00:25 EST


On 06-Mar-25 5:43 PM, David Hildenbrand wrote:
On 06.03.25 06:45, Bharata B Rao wrote:
migrate_misplaced_folio_prepare() can be called from a
context where VMA isn't available. Allow the migration
to work from such contexts too.

I was initially confused about "can be called", because it can't

Consider phrasing it as "We want to make use of alloc_misplaced_dst_folio() in context where we don't have VMA information available. To prepare for that ..."

Yes, that would be the right wording.

Thanks,
Bharata.