From: Balbir Singh <bsingharora@gmail.com>
To: jglisse@redhat.com, akpm@linux-foundation.org
Cc: linux-mm@kvack.org, Balbir Singh <bsingharora@gmail.com>
Subject: [PATCH] mm/hmm: Fix Kconfig dependencies for HMM
Date: Tue, 11 Apr 2017 17:51:55 +1000 [thread overview]
Message-ID: <20170411075155.845-1-bsingharora@gmail.com> (raw)
HMM uses arch_add/remove_memory, fix the Kconfig dependencies
to add MEMORY_HOTPLUG and MEMORY_HOTREMOVE
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
---
mm/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/Kconfig b/mm/Kconfig
index 43d000e..c10cd99 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -291,7 +291,7 @@ config ARCH_ENABLE_HUGEPAGE_MIGRATION
config HMM
bool
- depends on MMU && 64BIT
+ depends on MMU && 64BIT && MEMORY_HOTREMOVE && MEMORY_HOTPLUG
help
HMM provides a set of helpers to share a virtual address
space between CPU and a device, so that the device can access any valid
@@ -305,7 +305,7 @@ config HMM
config HMM_MIRROR
bool "HMM mirror CPU page table into a device page table"
- depends on MMU && 64BIT
+ depends on MMU && 64BIT && MEMORY_HOTREMOVE && MEMORY_HOTPLUG
select HMM
select MMU_NOTIFIER
help
@@ -317,7 +317,7 @@ config HMM_MIRROR
config HMM_DEVMEM
bool "HMM device memory helpers (to leverage ZONE_DEVICE)"
- depends on MMU && 64BIT
+ depends on MMU && 64BIT && MEMORY_HOTREMOVE && MEMORY_HOTPLUG
select HMM
help
HMM devmem is a set of helper routines to leverage the ZONE_DEVICE
--
2.9.3
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
reply other threads:[~2017-04-11 7:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170411075155.845-1-bsingharora@gmail.com \
--to=bsingharora@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=jglisse@redhat.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox