提交 7575ea05 编写于 作者: J Jérôme Glisse 提交者: Xie XiuQi

mm/hmm: select mmu notifier when selecting HMM

[ Upstream commit 734fb899 ]

To avoid random config build issue, select mmu notifier when HMM is
selected.  In any cases when HMM get selected it will be by users that
will also wants the mmu notifier.

Link: http://lkml.kernel.org/r/20190403193318.16478-2-jglisse@redhat.comSigned-off-by: NJérôme Glisse <jglisse@redhat.com>
Acked-by: NBalbir Singh <bsingharora@gmail.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 4e25a58f
...@@ -723,12 +723,12 @@ config DEV_PAGEMAP_OPS ...@@ -723,12 +723,12 @@ config DEV_PAGEMAP_OPS
config HMM config HMM
bool bool
select MMU_NOTIFIER
select MIGRATE_VMA_HELPER select MIGRATE_VMA_HELPER
config HMM_MIRROR config HMM_MIRROR
bool "HMM mirror CPU page table into a device page table" bool "HMM mirror CPU page table into a device page table"
depends on ARCH_HAS_HMM depends on ARCH_HAS_HMM
select MMU_NOTIFIER
select HMM select HMM
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册