提交 fedf5b9b 编写于 作者: V Vineet Gupta

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: NVineet Gupta <vgupta@synopsys.com>
上级 5971bc71
......@@ -742,6 +742,7 @@ void copy_user_highpage(struct page *to, struct page *from,
*/
if (clean_src_k_mappings) {
__flush_dcache_page(kfrom, kfrom);
clear_bit(PG_arch_1, &from->flags);
} else {
set_bit(PG_arch_1, &from->flags);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册