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

ARC: [mm] optimise VIPT dcache aliasing 2/x

Non-congruent SRC page in copy_user_page() is dcache clean in the end -
so record that fact, to avoid a subsequent extraneous flush.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

+1
+1
arch/arc/mm/cache_arc700.c
··· 742 742 */ 743 743 if (clean_src_k_mappings) { 744 744 __flush_dcache_page(kfrom, kfrom); 745 + clear_bit(PG_arch_1, &from->flags); 745 746 } else { 746 747 set_bit(PG_arch_1, &from->flags); 747 748 }