[PATCH 2/2] x86/um: Use x86_64-optimized memchr
Yu-Jen Chang
arthurchang09 at gmail.com
Sat May 28 01:12:36 PDT 2022
Add x86_64-optimized memchr, which is 4x faster
than the original implementation, into um.
Signed-off-by: Yu-Jen Chang <arthurchang09 at gmail.com>
Signed-off-by: Ching-Chun (Jim) Huang <jserv at ccns.ncku.edu.tw>
---
arch/x86/um/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/um/Makefile b/arch/x86/um/Makefile
index ba5789c35..52b7c21ca 100644
--- a/arch/x86/um/Makefile
+++ b/arch/x86/um/Makefile
@@ -28,7 +28,7 @@ else
obj-y += syscalls_64.o vdso/
-subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o ../entry/thunk_64.o
+subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o ../lib/string_64.o ../entry/thunk_64.o
endif
--
2.25.1
More information about the linux-um
mailing list