mm: don't select MIGRATE_VMA_HELPER from HMM_MIRROR

The migrate_vma helper is only used by noveau to migrate device private
pages around.  Other HMM_MIRROR users like amdgpu or infiniband don't
need it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
Christoph Hellwig
2019-06-26 14:27:24 +02:00
committed by Jason Gunthorpe
父節點 43535b0aef
當前提交 b6b346a066
共有 2 個文件被更改,包括 1 次插入1 次删除

查看文件

@@ -680,7 +680,6 @@ config HMM_MIRROR
depends on (X86_64 || PPC64)
depends on MMU && 64BIT
select MMU_NOTIFIER
select MIGRATE_VMA_HELPER
help
Select HMM_MIRROR if you want to mirror range of the CPU page table of a
process into a device page table. Here, mirror means "keep synchronized".