Re: [PATCH v14 01/12] mm/Kconfig: changes for migrate on fault for device pages

From: Mika Penttilä

Date: Wed Sep 23 2026 - 01:42:40 EST



On 9/23/26 01:27, Balbir Singh wrote:

> On 9/22/26 3:34 PM, mpenttil@xxxxxxxxxx wrote:
>> From: Mika Penttilä <mpenttil@xxxxxxxxxx>
>>
>> HMM depends on MMU notifiers. With the unified HMM/migrate_device
>> page table walk migrate_device needs HMM enabled.
>> Enable them explicitly to avoid breaking random configs.
>>
>> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>> Cc: David Hildenbrand <david@xxxxxxxxxx>
>> Cc: Lorenzo Stoakes <ljs@xxxxxxxxxx>
>> Cc: "Liam R. Howlett" <Liam.Howlett@xxxxxxxxxx>
>> Cc: Vlastimil Babka <vbabka@xxxxxxx>
>> Cc: Mike Rapoport <rppt@xxxxxxxxxx>
>> Cc: Suren Baghdasaryan <surenb@xxxxxxxxxx>
>> Cc: Michal Hocko <mhocko@xxxxxxxx>
>> Signed-off-by: Mika Penttilä <mpenttil@xxxxxxxxxx>
>> Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
>> ---
>> mm/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/mm/Kconfig b/mm/Kconfig
>> index 604c58199acb..b7a485beb9a7 100644
>> --- a/mm/Kconfig
>> +++ b/mm/Kconfig
>> @@ -687,6 +687,7 @@ config MIGRATION
>>
>> config DEVICE_MIGRATION
>> def_bool MIGRATION && ZONE_DEVICE
>> + select HMM_MIRROR
>>
>> config ARCH_ENABLE_HUGEPAGE_MIGRATION
>> bool
>
> Acked-by: Balbir Singh <balbirs@xxxxxxxxxx>

Thanks Balbir!