mirror of
https://github.com/apache/nuttx.git
synced 2025-12-08 02:32:54 +08:00
sched/taskfiles: skip unnecessary file open/close operations to improve performance
The task files should consult the "spawn action" and "O_CLOEXEC flags" to determine further whether the file should be duplicated. This PR will further optimize file list duplicating to avoid the performance regression caused by additional file operations. Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -36,6 +36,7 @@ list(
|
||||
binfmt_execmodule.c
|
||||
binfmt_exec.c
|
||||
binfmt_copyargv.c
|
||||
binfmt_copyactions.c
|
||||
binfmt_dumpmodule.c
|
||||
binfmt_coredump.c)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user