incubator-nuttx/fs/inode
chao an d29748258b 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 <anchao@lixiang.com>
2024-03-07 10:58:55 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Make.defs
fs_files.c fs/inode: add pre-allocated task files to avoid allocator access 2024-03-07 10:58:55 +08:00
fs_foreachinode.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
fs_inode.c
fs_inodeaddref.c
fs_inodebasename.c
fs_inodefind.c
fs_inodefree.c
fs_inodegetpath.c fs/vfs: Add a new argument(size_t len) to inode_getpath 2023-05-08 09:57:01 +02:00
fs_inoderelease.c
fs_inoderemove.c fs/inode: Change inode_unlink to static function 2023-10-30 10:57:14 +02:00
fs_inodereserve.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
fs_inodesearch.c compiler/tasking: fix compiler warning on tasking 2024-01-31 05:02:56 -08:00
inode.h fs/inode: Change inode_unlink to static function 2023-10-30 10:57:14 +02:00