d29748258b
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 <anchao@lixiang.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Make.defs | ||
fs_files.c | ||
fs_foreachinode.c | ||
fs_inode.c | ||
fs_inodeaddref.c | ||
fs_inodebasename.c | ||
fs_inodefind.c | ||
fs_inodefree.c | ||
fs_inodegetpath.c | ||
fs_inoderelease.c | ||
fs_inoderemove.c | ||
fs_inodereserve.c | ||
fs_inodesearch.c | ||
inode.h |