Christoph Hellwig 800bb1c8dc mm: handle multiple owners of device private pages in migrate_vma
Add a new src_owner field to struct migrate_vma.  If the field is set,
only device private pages with page->pgmap->owner equal to that field are
migrated.  If the field is not set only "normal" pages are migrated.

Fixes: df6ad69838fc ("mm/device-public-memory: device memory cache coherent with CPU")
Link: https://lore.kernel.org/r/20200316193216.920734-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Tested-by: Bharata B Rao <bharata@linux.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-03-26 14:33:38 -03:00
..
2019-08-30 22:43:58 -07:00
2020-02-04 03:05:25 +00:00
2019-12-04 11:08:30 -08:00
2020-02-04 03:05:25 +00:00
2020-02-04 07:21:04 +00:00
2018-06-07 17:34:36 -07:00
2020-02-07 14:48:44 -05:00
2019-09-17 15:20:17 -07:00
2020-01-20 08:05:16 +01:00