From patchwork Thu Jul 7 02:19:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: heechul Yun X-Patchwork-Id: 951892 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p672WVhV016685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 7 Jul 2011 02:32:52 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QeeJI-000074-33; Thu, 07 Jul 2011 02:27:24 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QeeJH-0003Iv-Mp; Thu, 07 Jul 2011 02:27:23 +0000 Received: from mail-gy0-f177.google.com ([209.85.160.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QeeJE-0003Id-U9 for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2011 02:27:21 +0000 Received: by gyh4 with SMTP id 4so265082gyh.36 for ; Wed, 06 Jul 2011 19:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=BQsnX66sgz5olrtRu24gQBsIpDGXb81MoKSYLgqDBGU=; b=noCYULSz1ix514i9VFSANpjH3ZfQN+O3cOnGSoU4ye1Zj0XrneBHnMqUNOJ8wA/qMR n7bWm7nB61oKtVLF5NWV07zjhUw7cpTU2tWqbfBkLXw7ABDiGBYgu0a6a4jO06+FLo/d 2uc6JfGluXInqO2s2nDMe6BjnhKgnBerphUDw= MIME-Version: 1.0 Received: by 10.236.145.233 with SMTP id p69mr303459yhj.133.1310005199040; Wed, 06 Jul 2011 19:19:59 -0700 (PDT) Received: by 10.236.61.35 with HTTP; Wed, 6 Jul 2011 19:19:59 -0700 (PDT) Date: Wed, 6 Jul 2011 19:19:59 -0700 X-Google-Sender-Auth: uB6JG_mUUzl6wcWE6XIKqegTilg Message-ID: Subject: [PATCH] remove unnecessary cache flush on v6 copypage From: heechul Yun To: Russell King - ARM Linux , Catalin Marinas X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110706_222721_113367_8052319C X-CRM114-Status: GOOD ( 13.67 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (heechul.yun[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.177 listed in list.dnswl.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: linux-kernel@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 07 Jul 2011 02:32:52 +0000 (UTC) ARM: mm: remove unnecessary cache flush on v6 copypage Signed-off-by: Heechul Yun Acked-by: Catalin Marinas --- arch/arm/mm/copypage-v6.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) -- Heechul diff --git a/arch/arm/mm/copypage-v6.c b/arch/arm/mm/copypage-v6.c index bdba6c6..63cca00 100644 --- a/arch/arm/mm/copypage-v6.c +++ b/arch/arm/mm/copypage-v6.c @@ -41,7 +41,6 @@ static void v6_copy_user_highpage_nonaliasing(struct page *to, kfrom = kmap_atomic(from, KM_USER0); kto = kmap_atomic(to, KM_USER1); copy_page(kto, kfrom); - __cpuc_flush_dcache_area(kto, PAGE_SIZE); kunmap_atomic(kto, KM_USER1); kunmap_atomic(kfrom, KM_USER0); }