WSL2-Linux-Kernel/arch/arm64/lib
Will Deacon 0ea366f5e1 arm64: atomics: prefetch the destination word for write prior to stxr
The cost of changing a cacheline from shared to exclusive state can be
significant, especially when this is triggered by an exclusive store,
since it may result in having to retry the transaction.

This patch makes use of prfm to prefetch cachelines for write prior to
ldxr/stxr loops when using the ll/sc atomic routines.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-07-27 15:28:53 +01:00
..
Makefile arm64: introduce CONFIG_ARM64_LSE_ATOMICS as fallback to ll/sc atomics 2015-07-27 15:28:50 +01:00
atomic_ll_sc.c arm64: introduce CONFIG_ARM64_LSE_ATOMICS as fallback to ll/sc atomics 2015-07-27 15:28:50 +01:00
bitops.S arm64: atomics: prefetch the destination word for write prior to stxr 2015-07-27 15:28:53 +01:00
clear_page.S
clear_user.S arm64: kernel: Add support for Privileged Access Never 2015-07-27 11:08:41 +01:00
copy_from_user.S arm64: kernel: Add support for Privileged Access Never 2015-07-27 11:08:41 +01:00
copy_in_user.S arm64: kernel: Add support for Privileged Access Never 2015-07-27 11:08:41 +01:00
copy_page.S
copy_to_user.S arm64: kernel: Add support for Privileged Access Never 2015-07-27 11:08:41 +01:00
delay.c
memchr.S arm64: klib: Optimised memory functions 2013-03-21 17:39:29 +00:00
memcmp.S arm64: lib: Implement optimized memcmp routine 2014-05-23 15:07:57 +01:00
memcpy.S arm64: lib: Implement optimized memcpy routine 2014-05-23 15:06:53 +01:00
memmove.S arm64: lib: Implement optimized memmove routine 2014-05-23 15:07:35 +01:00
memset.S arm64: lib: Implement optimized memset routine 2014-05-23 15:07:48 +01:00
strchr.S arm64: klib: Optimised string functions 2013-03-21 17:39:30 +00:00
strcmp.S arm64: lib: Implement optimized string compare routines 2014-05-23 15:16:59 +01:00
strlen.S arm64: lib: Implement optimized string length routines 2014-05-23 15:17:12 +01:00
strncmp.S arm64: lib: Implement optimized string compare routines 2014-05-23 15:16:59 +01:00
strnlen.S arm64: lib: Implement optimized string length routines 2014-05-23 15:17:12 +01:00
strrchr.S arm64: klib: Optimised string functions 2013-03-21 17:39:30 +00:00