Re: [PATCH 01/11] mm/mremap: introduce more mergeable mremap via MREMAP_RELOCATE_ANON

From: David Hildenbrand
Date: Tue Jun 17 2025 - 06:01:38 EST


I really wish we can find a way to not require the fallback.

Maybe split the VMA at the point where it fails, instead of undo?

I don't think this is actually possible without major rework as we've separated
the VMA and folio, page table parts of the operation.

Let me put thoughts on this in reply to David so we don't split conversation
(pun intended ;) I think we have other options also.

:)

I'm still trying to wrap my head around alternatives, and possible simplifications ... oh my is this all complicated.

--
Cheers,

David / dhildenb