yamt commented on PR #14416: URL: https://github.com/apache/nuttx/pull/14416#issuecomment-2425652011
> > it seems to have an obvious downside. > > > > * waste memory when the file lists are extended > > * waste memory if CONFIG_NFILE_DESCRIPTORS_PER_BLOCK is too big > > > > that is, when the workload on the system is not static as yours. > > I think you should read this part of the code further. PR #11850 just replace dynamic allocation to static definition. It does not waste any memory. it makes "struct filelist" larger, which consumes memory. -- 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]
