Zhangshoukui commented on code in PR #13296:
URL: https://github.com/apache/nuttx/pull/13296#discussion_r1808357908
##########
fs/Kconfig:
##########
@@ -119,6 +119,13 @@ config FS_HEAPSIZE
Support for shm/tmpfs/fs_pseudofile.c ram based fs memory.
default 0 to use kmm directly. independent heap disabled
+config FS_REFCOUNT
+ bool "File reference count"
+ default !DEFAULT_SMALL
+ ---help---
+ Enable will Records the number of filep references. The file is
+ actually closed when the count reaches 0
Review Comment:
In theory, it should be used by default and should not be configured by the
user, but it actually increases the code size, so it is configurable.Any better
suggestions? I can try to optimize
--
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]