mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
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:
@@ -65,7 +65,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_ELF_BUFFERSIZE
|
||||
# define CONFIG_ELF_BUFFERSIZE 128
|
||||
# define CONFIG_ELF_BUFFERSIZE 32
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_ELF_BUFFERINCR
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_MODLIB_BUFFERSIZE
|
||||
# define CONFIG_MODLIB_BUFFERSIZE 128
|
||||
# define CONFIG_MODLIB_BUFFERSIZE 32
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_MODLIB_BUFFERINCR
|
||||
|
||||
Reference in New Issue
Block a user