public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCHv2] remove unnecessary cache flush on v6 copypage
@ 2011-07-07 14:30 Heechul Yun
  2011-07-07 14:49 ` Catalin Marinas
  2011-07-08  9:35 ` Russell King - ARM Linux
  0 siblings, 2 replies; 5+ messages in thread
From: Heechul Yun @ 2011-07-07 14:30 UTC (permalink / raw)
  To: linux-arm-kernel


ARM: mm: remove unnecessary cache flush on v6 copypage

Originally introduced to maintain coherency between icache and dcache
in v6 nonaliasing mode. This is now handled by __sync_icache_dcache since
c0177800, therefore unneceary in this function.  

Signed-off-by: Heechul Yun <heechul@illinois.edu>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
--
arch/arm/mm/copypage-v6.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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);
 }

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-08 12:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 14:30 [PATCHv2] remove unnecessary cache flush on v6 copypage Heechul Yun
2011-07-07 14:49 ` Catalin Marinas
2011-07-08  9:35 ` Russell King - ARM Linux
2011-07-08  9:47   ` Catalin Marinas
2011-07-08 12:52   ` heechul Yun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox