Donny9 commented on PR #14416: URL: https://github.com/apache/nuttx/pull/14416#issuecomment-2425440945
> @xiaoxiang781216 > > 1. The optimized time here is 30% (10.65(us) -> 7.35(us)), and the performance of CPUs with different frequencies will be different > 2. This PR [fs/inode: add pre-allocated task files to avoid allocator access #11850](https://github.com/apache/nuttx/pull/11850) is mainly to prevent the kernel code to access the memory allocator during task_create/task_terminate, which is part of functional safety requirements. (Our internal branch could disable CONFIG_SIGNAL and CONFIG_MM in nuttx kernel space) > 3. Please tackle the issue head on, this is probably a regression introduced by CONFIG_FS_REFCOUNT, [filep Reference count #13296](https://github.com/apache/nuttx/pull/13296) > > #11850 was merged earlier @anchao If the used file descriptor exceeds CONFIG_NFILE_DESCRIPTORS_PER_BLOCK, it will still invoke file_extend and then call the allocator. How can this situation be resolved? By adjusting CONFIG_NFILE_DESCRIPTORS_PER_BLOCK? This is an issue related to filelist references, not file references. Can this functionality be made configurable with a default setting to turn it off? Or are there any other good solutions to this problem? -- 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]
