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

Matthew Wilcox
2025-03-06T17:45:43Z

On Thu, Mar 06, 2025 at 12:24:16PM -0500, Gregory Price wrote:
> On Thu, Mar 06, 2025 at 11:15:29AM +0530, 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.
> >
> > Signed-off-by: Bharata B Rao <bharata@amd.com>
>
> I have a similar patch in the unmapped pagecache RFC
>
> we may also need this:
> https://lore.kernel.org/linux-mm/20250107000346.1338481-4-gourry@gourry.net/
>
> May be worth just pulling these ahead to avoid conflict.

Or not putting them in at all because this whole thing is a magnificent
waste of time?