Re: [PATCH v7 5/6] mm: add new testcase for the migrate on fault case

Mika Penttilä
2026-03-30T06:40:40Z

Hi,

On 3/30/26 09:21, Christoph Hellwig wrote:

> On Mon, Mar 30, 2026 at 07:30:16AM +0300, mpenttil@redhat.com wrote:
>> From: Mika Penttilä <mpenttil@redhat.com>
> 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