Re: [PATCH v4 02/33] mm/migrate: Add migrate_device_pfns

2025-02-04 Thread Matthew Brost
On Fri, Jan 31, 2025 at 09:47:52AM +0200, Gwan-gyeong Mun wrote: > > > On 1/29/25 9:51 PM, Matthew Brost wrote: > > Add migrate_device_pfns which prepares an array of pre-populated device > > pages for migration. This is needed for eviction of known set of > > non-contiguous devices pages to cpu

Re: [PATCH v4 02/33] mm/migrate: Add migrate_device_pfns

2025-01-30 Thread Gwan-gyeong Mun
On 1/29/25 9:51 PM, Matthew Brost wrote: Add migrate_device_pfns which prepares an array of pre-populated device pages for migration. This is needed for eviction of known set of non-contiguous devices pages to cpu pages which is a common case for SVM in DRM drivers using TTM. v2: - s/migrat

Re: [PATCH v4 02/33] mm/migrate: Add migrate_device_pfns

2025-01-30 Thread Alistair Popple
On Wed, Jan 29, 2025 at 11:51:41AM -0800, Matthew Brost wrote: > Add migrate_device_pfns which prepares an array of pre-populated device > pages for migration. This is needed for eviction of known set of > non-contiguous devices pages to cpu pages which is a common case for SVM > in DRM drivers usi

[PATCH v4 02/33] mm/migrate: Add migrate_device_pfns

2025-01-29 Thread Matthew Brost
Add migrate_device_pfns which prepares an array of pre-populated device pages for migration. This is needed for eviction of known set of non-contiguous devices pages to cpu pages which is a common case for SVM in DRM drivers using TTM. v2: - s/migrate_device_vma_range/migrate_device_prepopulated_