Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 6995/2: 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 unnecessary in this function.

Signed-off-by: Heechul Yun <heechul@illinois.edu>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Heechul Yun and committed by
Russell King
c7e89b16 54d52573

-1
-1
arch/arm/mm/copypage-v6.c
··· 41 41 kfrom = kmap_atomic(from, KM_USER0); 42 42 kto = kmap_atomic(to, KM_USER1); 43 43 copy_page(kto, kfrom); 44 - __cpuc_flush_dcache_area(kto, PAGE_SIZE); 45 44 kunmap_atomic(kto, KM_USER1); 46 45 kunmap_atomic(kfrom, KM_USER0); 47 46 }