From patchwork Fri Aug 2 12:27:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: manjunath.goudar@linaro.org X-Patchwork-Id: 18738 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DC73E248E8 for ; Fri, 2 Aug 2013 12:28:10 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id 15sf751352vea.5 for ; Fri, 02 Aug 2013 05:28:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-removed-original-auth:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=OLb6qFrEicmKozZKWi8ezF9MVVsISnaRukR+vYv76ag=; b=AFwoMC5W6ITHNwz97t6V1s7dJKU3VOsZGUA+N04kqr8rQLcEOy72dWH6i+3apasT1w DU9YQZjLZ4108sLiGG2AeKdVc00IlVxo2el339kV1muIseBUoXH1EJq8/Blm20o9jl7Z jic+AZVpV4f7ExvVakr60BAqpE4U/U7kXpcanTWYmgnsnFJ9GawuH7t9jRxUxN0UsHDD /SimnMWJZxWRuYVBET3iTBqxvPBZMdJHhlyO3O8ZhB0nGFuJeeRw8TleregHgIfvBLYc Y4/8PyvQk6Ko89VVQY0G1e4qEEPZmxF9z7zucvg/1smG8500cYHrx9kz2onA3lG7HEcQ pFDA== X-Received: by 10.236.125.200 with SMTP id z48mr2681943yhh.55.1375446490409; Fri, 02 Aug 2013 05:28:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.105.225 with SMTP id gp1ls652018qeb.55.gmail; Fri, 02 Aug 2013 05:28:10 -0700 (PDT) X-Received: by 10.58.207.135 with SMTP id lw7mr1907502vec.92.1375446490222; Fri, 02 Aug 2013 05:28:10 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id sj10si1799590vdc.105.2013.08.02.05.28.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 Aug 2013 05:28:10 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id cy12so556339veb.18 for ; Fri, 02 Aug 2013 05:28:10 -0700 (PDT) X-Received: by 10.221.47.193 with SMTP id ut1mr1933795vcb.8.1375446490054; Fri, 02 Aug 2013 05:28:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp353474vcb; Fri, 2 Aug 2013 05:28:09 -0700 (PDT) X-Received: by 10.66.246.133 with SMTP id xw5mr9910150pac.114.1375446488926; Fri, 02 Aug 2013 05:28:08 -0700 (PDT) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by mx.google.com with ESMTPS id qh6si6839940pac.192.2013.08.02.05.28.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 Aug 2013 05:28:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.173 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.192.173; Received: by mail-pd0-f173.google.com with SMTP id p11so606662pdj.18 for ; Fri, 02 Aug 2013 05:28:08 -0700 (PDT) X-Received: by 10.68.2.69 with SMTP id 5mr7536729pbs.124.1375446488263; Fri, 02 Aug 2013 05:28:08 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id aj3sm10331688pad.8.2013.08.02.05.28.03 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 Aug 2013 05:28:07 -0700 (PDT) From: Manjunath Goudar To: manjunath.goudar@linaro.org Cc: arnd@linaro.org, patches@linaro.org, linaro-kernel@lists.linaro.org, dsaxena@linaro.org Subject: [PATCH] MM: Make Contiguous Memory Allocator depends on MMU Date: Fri, 2 Aug 2013 17:57:53 +0530 Message-Id: <1375446473-21680-1-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQmkCTxYwaWZe4qWRGvN1zo8mNYmIL/Y5QKKSNB+x2SNiYhnOgyCdXJfAclF3fj7vnbiUnob X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch create CMA dependns on MMU.With the help MMU, page migration and CMA functionality is achieved. Signed-off-by: Manjunath Goudar Cc: IWAMOTO Toshihiro Cc: Hirokazu Takahashi Cc: Dave Hansen Cc: linux-mm@kvack.org Cc: Johannes Weiner Cc: Michal Hocko Cc: Balbir Singh Cc: KAMEZAWA Hiroyuki Acked-by: Arnd Bergmann --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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