Re: [PATCH v7 5/6] mm: add new testcase for the migrate on fault case
From: Mika Penttilä
Date: Mon Mar 30 2026 - 02:46:37 EST
Hi,
On 3/30/26 09:21, Christoph Hellwig wrote:
> On Mon, Mar 30, 2026 at 07:30:16AM +0300, mpenttil@xxxxxxxxxx wrote:
>> From: Mika Penttilä <mpenttil@xxxxxxxxxx>
> This seems to lack a commit message.
>
> Also where is the real user of your changes? It seems like only this
> test case consumes it currently and you actually add dead code?
>
The changes add the possibility to do migration initiated by hmm_range_fault()
while handling faults. There are some advantages to it, like more efficient
flow, and you get the VMA populated (needed for migration).
Also, the current migrate_vma_setup() initiated flow is changed to use the new code,
so it's not dead code.
Thanks,
Mika