binfmt/libelf, libs/libc/modlib: Optimize elf load speed: (1) Don't zero out memory, (2) Reduce the initial buffer size to 32 bytes.

This commit is contained in:
Xiang Xiao
2019-01-26 11:34:40 -06:00
committed by Gregory Nutt
parent 264a7164bc
commit 0edcd6b85e
9 changed files with 8 additions and 22 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
#endif
#ifndef CONFIG_ELF_BUFFERSIZE
# define CONFIG_ELF_BUFFERSIZE 128
# define CONFIG_ELF_BUFFERSIZE 32
#endif
#ifndef CONFIG_ELF_BUFFERINCR
+1 -1
View File
@@ -62,7 +62,7 @@
#endif
#ifndef CONFIG_MODLIB_BUFFERSIZE
# define CONFIG_MODLIB_BUFFERSIZE 128
# define CONFIG_MODLIB_BUFFERSIZE 32
#endif
#ifndef CONFIG_MODLIB_BUFFERINCR