summaryrefslogtreecommitdiff
path: root/arch/csky/mm
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-01-27 14:57:29 +0300
committerGuo Ren <guoren@linux.alibaba.com>2020-02-21 10:43:24 +0300
commitcc1f6563a92ced0889775d0587316d725b6e1a68 (patch)
tree2338b9a232542393b39987b2a6bb5b16951c8ef0 /arch/csky/mm
parentd936a7e708dcf22344c4420e8b0e36f5d5f8c073 (diff)
downloadlinux-cc1f6563a92ced0889775d0587316d725b6e1a68.tar.xz
csky: Optimize abiv2 copy_to_user_page with VM_EXEC
Only when vma is for VM_EXEC, we need sync dcache & icache. eg: - gdb ptrace modify user space instruction code area. Add VM_EXEC condition to reduce unnecessary cache flush. The abiv1 cpus' cache are all VIPT, so we still need to deal with dcache aliasing problem. But there is optimized way to use cache color, just like what's done in arch/csky/abiv1/inc/abi/page.h. Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/mm')
0 files changed, 0 insertions, 0 deletions