android_kernel_xiaomi_sm8350/arch/arm/lib
Nicolas Pitre fadab0943d [ARM] 2948/1: new preemption safe copy_{to|from}_user implementation
Patch from Nicolas Pitre

This patch provides a preemption safe implementation of copy_to_user
and copy_from_user based on the copy template also used for memcpy.
It is enabled unconditionally when CONFIG_PREEMPT=y.  Otherwise if the
configured architecture is not ARMv3 then it is enabled as well as it
gives better performances at least on StrongARM and XScale cores.  If
ARMv3 is not too affected or if it doesn't matter too much then
uaccess.S could be removed altogether.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-11-01 19:52:24 +00:00
..
ashldi3.S [ARM] 3049/1: More optimized libgcc functions 2005-10-30 23:08:03 +00:00
ashrdi3.S [ARM] 3049/1: More optimized libgcc functions 2005-10-30 23:08:03 +00:00
backtrace.S
bitops.h [ARM SMP] Only enable V6K instructions on V6 MP core CPUs 2005-08-10 14:41:45 +01:00
changebit.S
clear_user.S [ARM] 2946/2: split --arch_clear_user() out of lib/uaccess.S 2005-11-01 19:52:22 +00:00
clearbit.S
copy_from_user.S [ARM] 2948/1: new preemption safe copy_{to|from}_user implementation 2005-11-01 19:52:24 +00:00
copy_page.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
copy_template.S [ARM] 2947/1: copy template with new memcpy/memmove 2005-11-01 19:52:23 +00:00
copy_to_user.S [ARM] 2948/1: new preemption safe copy_{to|from}_user implementation 2005-11-01 19:52:24 +00:00
csumipv6.S
csumpartial.S
csumpartialcopy.S
csumpartialcopygeneric.S
csumpartialcopyuser.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
delay.S
div64.S
ecard.S
findbit.S
floppydma.S
getuser.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
io-acorn.S
io-readsb.S
io-readsl.S
io-readsw-armv3.S
io-readsw-armv4.S
io-shark.c [PATCH] ARM: 2815/1: Shark: new defconfig, fixes with __io and serial ports 2005-07-16 17:17:18 +01:00
io-writesb.S
io-writesl.S
io-writesw-armv3.S
io-writesw-armv4.S
lib1funcs.S
lshrdi3.S [ARM] 3049/1: More optimized libgcc functions 2005-10-30 23:08:03 +00:00
Makefile [ARM] 2948/1: new preemption safe copy_{to|from}_user implementation 2005-11-01 19:52:24 +00:00
memchr.S
memcpy.S [ARM] 2947/1: copy template with new memcpy/memmove 2005-11-01 19:52:23 +00:00
memmove.S [ARM] 2947/1: copy template with new memcpy/memmove 2005-11-01 19:52:23 +00:00
memset.S
memzero.S
muldi3.S [ARM] 3049/1: More optimized libgcc functions 2005-10-30 23:08:03 +00:00
putuser.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
setbit.S
sha1.S [ARM] 2930/1: optimized sha1 implementation for ARM 2005-10-28 15:26:40 +01:00
strchr.S
strncpy_from_user.S
strnlen_user.S
strrchr.S
testchangebit.S
testclearbit.S
testsetbit.S
uaccess.S [ARM] 2946/2: split --arch_clear_user() out of lib/uaccess.S 2005-11-01 19:52:22 +00:00
ucmpdi2.S [ARM] 3049/1: More optimized libgcc functions 2005-10-30 23:08:03 +00:00