Skip to content

Commit

Permalink
mm: don't select MIGRATE_VMA_HELPER from HMM_MIRROR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Jason Gunthorpe committed Jul 2, 2019
1 parent 43535b0 commit b6b346a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ config DRM_NOUVEAU_SVM
depends on DRM_NOUVEAU
depends on HMM_MIRROR
depends on STAGING
select MIGRATE_VMA_HELPER
default n
help
Say Y here if you want to enable experimental support for
Expand Down
1 change: 0 additions & 1 deletion mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down

0 comments on commit b6b346a

Please sign in to comment.