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

David Hildenbrand
2025-06-17T10:01:28Z

>>> 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