[PATCH v2 0/2] Switching ARC to optimized generic strncpy_from_user
From: Vineet Gupta
Date: Wed Jan 15 2020 - 19:21:30 EST
Hi,
This series switches ARC to generic word-at-a-time interface.
I understand that going fwd, we may drop the inline versions altogether but this
helps ARC code in the interim.
v2 <- v1
- Moved __strnlen_user/__strncpy_from_user to under ifdef gaurd [Arnd]
- Dropped the broken optimization patch [Linus]
- Folded 2 ARC patches into 1
Thx,
-Vineet
Vineet Gupta (2):
asm-generic/uaccess: don't define inline functions if noinline lib/*
in use
ARC: uaccess: use optimized generic __strnlen_user/__strncpy_from_user
arch/arc/Kconfig | 2 +
arch/arc/include/asm/uaccess.h | 85 ++--------------------------------
arch/arc/mm/extable.c | 23 ---------
include/asm-generic/uaccess.h | 8 ++++
4 files changed, 14 insertions(+), 104 deletions(-)
--
2.20.1