Re: [RFC PATCH 04/28] mm/migrate: Add migrate_device_vma_range

2024-08-29 Thread Matthew Brost
On Thu, Aug 29, 2024 at 11:03:29AM +0200, Daniel Vetter wrote: > On Tue, Aug 27, 2024 at 07:48:37PM -0700, Matthew Brost wrote: > > Add migrate_device_vma_range which prepares an array of pre-populated > > device pages for migration and issues a MMU invalidation. > > > > Cc: Andrew Morton > > Sig

Re: [RFC PATCH 04/28] mm/migrate: Add migrate_device_vma_range

2024-08-29 Thread Daniel Vetter
On Tue, Aug 27, 2024 at 07:48:37PM -0700, Matthew Brost wrote: > Add migrate_device_vma_range which prepares an array of pre-populated > device pages for migration and issues a MMU invalidation. > > Cc: Andrew Morton > Signed-off-by: Matthew Brost > --- > include/linux/migrate.h | 3 +++ > mm/

[RFC PATCH 04/28] mm/migrate: Add migrate_device_vma_range

2024-08-27 Thread Matthew Brost
Add migrate_device_vma_range which prepares an array of pre-populated device pages for migration and issues a MMU invalidation. Cc: Andrew Morton Signed-off-by: Matthew Brost --- include/linux/migrate.h | 3 +++ mm/migrate_device.c | 53 + 2 files ch