[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220528081236.3020-3-arthurchang09@gmail.com>
Date: Sat, 28 May 2022 16:12:36 +0800
From: Yu-Jen Chang <arthurchang09@...il.com>
To: ak@...ux.intel.com, jdike@...ux.intel.com
Cc: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, x86@...nel.org, hpa@...or.com,
keescook@...omium.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org, richard@....at,
anton.ivanov@...bridgegreys.com, johannes@...solutions.net,
linux-um@...ts.infradead.org, jserv@...s.ncku.edu.tw,
Yu-Jen Chang <arthurchang09@...il.com>
Subject: [PATCH 2/2] x86/um: Use x86_64-optimized memchr
Add x86_64-optimized memchr, which is 4x faster
than the original implementation, into um.
Signed-off-by: Yu-Jen Chang <arthurchang09@...il.com>
Signed-off-by: Ching-Chun (Jim) Huang <jserv@...s.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
Powered by blists - more mailing lists