diff mbox

MM: Make Contiguous Memory Allocator depends on MMU

Message ID 1375446473-21680-1-git-send-email-manjunath.goudar@linaro.org
State New
Headers show

Commit Message

manjunath.goudar@linaro.org Aug. 2, 2013, 12:27 p.m. UTC
This patch create CMA dependns on MMU.With the help MMU,
page migration and CMA functionality is achieved.

Signed-off-by: Manjunath Goudar <manjunath.goudar@linaro.org>
Cc: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Cc: Hirokazu Takahashi <taka@valinux.co.jp>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: linux-mm@kvack.org
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
---
 mm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Arnd Bergmann Aug. 3, 2013, 7:48 p.m. UTC | #1
On Friday 02 August 2013, Manjunath Goudar wrote:
> This patch create CMA dependns on MMU.With the help MMU,
> page migration and CMA functionality is achieved.
> 
> Signed-off-by: Manjunath Goudar <manjunath.goudar@linaro.org>
> Cc: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
> Cc: Hirokazu Takahashi <taka@valinux.co.jp>
> Cc: Dave Hansen <haveblue@us.ibm.com>
> Cc: linux-mm@kvack.org
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Michal Hocko <mhocko@suse.cz>
> Cc: Balbir Singh <bsingharora@gmail.com>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

Acked-by: Arnd Bergmann <arnd@linaro.org>

You should probably mention in the changelog how you found that (I assume build testing)
and what the symptoms are of trying to use it anyway.
diff mbox

Patch

diff --git a/mm/Kconfig b/mm/Kconfig
index 256bfd0..ad6b98e 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -522,7 +522,7 @@  config MEM_SOFT_DIRTY
 
 config CMA
 	bool "Contiguous Memory Allocator"
-	depends on HAVE_MEMBLOCK
+	depends on MMU && HAVE_MEMBLOCK
 	select MIGRATION
 	select MEMORY_ISOLATION
 	help