On 10/21/26 5:05 PM, [email protected] wrote: > From: Mika Penttilä <[email protected]> > > HMM pagewalk has now the machinery to do the first phase of > device page migration, collecting the pfns and installing > migration ptes. > > Enable migration in hmm_range_fault(), and change migrate_vma_setup() > to use HMM pagewalk path. Two new flags, MIGRATE_VMA_FAULT and > MIGRATE_VMA_WRITE are introduced for migrate_vma_setup(), > to request for faulting missing pages, and requesting write > access. > > Also, the migrate_vma_collect*() based paths are now unused, > so delete them. > > Cc: David Hildenbrand <[email protected]> > Cc: Jason Gunthorpe <[email protected]> > Cc: Leon Romanovsky <[email protected]> > Cc: Alistair Popple <[email protected]> > Cc: Balbir Singh <[email protected]> > Cc: Zi Yan <[email protected]> > Cc: Matthew Brost <[email protected]> > Suggested-by: Alistair Popple <[email protected]> > Signed-off-by: Mika Penttilä <[email protected]> > --- > include/linux/migrate.h | 10 +- > mm/hmm.c | 33 ++- > mm/migrate_device.c | 562 ++++------------------------------------ > 3 files changed, 83 insertions(+), 522 deletions(-) > I got a conflict applying this patch on the latest mm-everything with mm: avoid use of VMA_SPECIAL_FLAGS in migrate_vma_setup(), quite a simple fixup
Balbir
