linux-snps-arc.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Switching ARC to optimized generic strncpy_from_user
@ 2020-01-16  0:21 Vineet Gupta
  2020-01-16  0:21 ` [PATCH v2 1/2] asm-generic/uaccess: don't define inline functions if noinline lib/* in use Vineet Gupta
  2020-01-16  0:21 ` [PATCH v2 2/2] ARC: uaccess: use optimized generic __strnlen_user/__strncpy_from_user Vineet Gupta
  0 siblings, 2 replies; 3+ messages in thread
From: Vineet Gupta @ 2020-01-16  0:21 UTC (permalink / raw)
  To: linux-snps-arc; +Cc: linux-arch, Vineet Gupta, linux-kernel, Arnd Bergmann

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


_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-16  0:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16  0:21 [PATCH v2 0/2] Switching ARC to optimized generic strncpy_from_user Vineet Gupta
2020-01-16  0:21 ` [PATCH v2 1/2] asm-generic/uaccess: don't define inline functions if noinline lib/* in use Vineet Gupta
2020-01-16  0:21 ` [PATCH v2 2/2] ARC: uaccess: use optimized generic __strnlen_user/__strncpy_from_user Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).