Commit b6b346a0 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jason Gunthorpe
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Reviewed-by: default avatarDan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 43535b0a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -88,6 +88,7 @@ config DRM_NOUVEAU_SVM
	depends on DRM_NOUVEAU
	depends on DRM_NOUVEAU
	depends on HMM_MIRROR
	depends on HMM_MIRROR
	depends on STAGING
	depends on STAGING
	select MIGRATE_VMA_HELPER
	default n
	default n
	help
	help
	  Say Y here if you want to enable experimental support for
	  Say Y here if you want to enable experimental support for
+0 −1
Original line number Original line Diff line number Diff line
@@ -680,7 +680,6 @@ config HMM_MIRROR
	depends on (X86_64 || PPC64)
	depends on (X86_64 || PPC64)
	depends on MMU && 64BIT
	depends on MMU && 64BIT
	select MMU_NOTIFIER
	select MMU_NOTIFIER
	select MIGRATE_VMA_HELPER
	help
	help
	  Select HMM_MIRROR if you want to mirror range of the CPU page table of a
	  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".
	  process into a device page table. Here, mirror means "keep synchronized".