Re: [HMM-v25 13/19] mm/migrate: new migrate mode MIGRATE_SYNC_NO_COPY

2017-08-17 Thread Jerome Glisse
On Thu, Aug 17, 2017 at 02:12:45PM -0700, Andrew Morton wrote: > On Wed, 16 Aug 2017 20:05:42 -0400 J__r__me Glisse wrote: > > > Introduce a new migration mode that allow to offload the copy to > > a device DMA engine. This changes the workflow of migration and > > not all address_space migratepa

Re: [HMM-v25 13/19] mm/migrate: new migrate mode MIGRATE_SYNC_NO_COPY

2017-08-17 Thread Andrew Morton
On Wed, 16 Aug 2017 20:05:42 -0400 J__r__me Glisse wrote: > Introduce a new migration mode that allow to offload the copy to > a device DMA engine. This changes the workflow of migration and > not all address_space migratepage callback can support this. So > it needs to be tested in those cases.

[HMM-v25 13/19] mm/migrate: new migrate mode MIGRATE_SYNC_NO_COPY

2017-08-16 Thread Jérôme Glisse
Introduce a new migration mode that allow to offload the copy to a device DMA engine. This changes the workflow of migration and not all address_space migratepage callback can support this. So it needs to be tested in those cases. This is intended to be use by migrate_vma() which itself is use for