Messages in this thread | | | From | Arvind Sankar <> | Subject | [PATCH 0/1] x86/boot/compressed: Use builtin mem functions for decompressor | Date | Tue, 4 Aug 2020 19:48:16 -0400 |
| |
This patch drops a couple of lines that prevent the decompressor code from using __builtin_memcpy (and __builtin_memset).
Note that Nick Terrell's patch [0] will apply similar changes directly in the decompressor code (in-kernel and upstream) for LZ4, and the ZSTD code already is partially optimized to use __builtin_memcpy for hot memcpy's, but still improves a little bit more with this patch.
[0] https://lore.kernel.org/lkml/20200803194022.2966806-1-nickrterrell@gmail.com/
Arvind Sankar (1): x86/boot/compressed: Use builtin mem functions for decompressor
arch/x86/boot/compressed/misc.c | 7 ++----- arch/x86/boot/string.h | 5 +---- 2 files changed, 3 insertions(+), 9 deletions(-)
-- 2.26.2
| |