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
..
2023-12-30 08:48:43 -08:00
2023-09-08 00:59:31 +03:00
2023-10-19 21:38:45 +08:00
2023-10-19 21:38:45 +08:00
2023-10-30 18:20:22 +08:00
2024-02-21 13:29:36 -03:00
2023-11-29 02:13:19 -08:00
2023-07-29 07:28:23 -07:00
2024-02-02 09:03:18 -08:00
2024-02-21 13:29:36 -03:00