diff options
author | 2022-04-06 21:32:22 +0800 | |
---|---|---|
committer | 2022-04-18 21:23:55 +0800 | |
commit | 8318f7c231d5be09e47410c5ab387b9bef6fe19e (patch) | |
tree | 0072d121bd5f7b4d5615e72a34d0b6ebb9841a98 /scripts/gdb/linux/utils.py | |
parent | csky: Add C based string functions (diff) | |
download | linux-dev-8318f7c231d5be09e47410c5ab387b9bef6fe19e.tar.xz linux-dev-8318f7c231d5be09e47410c5ab387b9bef6fe19e.zip |
csky: optimize memcpy_{from,to}io() and memset_io()
Optimize memcpy_{from,to}io() and memset_io() by transferring in
64 bit as much as possible with minimized barrier usage. This
simplest optimization brings faster throughput compare to current
byte-by-byte read and write with barrier in the loop. Code's
skeleton is taken from the powerpc & arm64.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions