anchao opened a new pull request, #11850: URL: https://github.com/apache/nuttx/pull/11850
## Summary fs/inode: add pre-allocated task files to avoid allocator access Pre-allocated files to avoid allocator access during thread creation phase, For functional safety requirements, increase CONFIG_NFILE_DESCRIPTORS_PER_BLOCK could also avoid allocator access caused by the file descriptor exceeding the limit. For Task Termination, the time consumption will be reduced ~3us (Tricore TC397 300MHZ): 10.65(us) -> 7.35(us) **NOTE: This commit will not waste of extra heap, just pre-allocates the list of files for task_group.** Signed-off-by: chao an <[email protected]> ## Impact N/A ## Testing ci-check -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
