xiaoxiang781216 commented on code in PR #12817:
URL: https://github.com/apache/nuttx/pull/12817#discussion_r1699658051
##########
fs/procfs/fs_procfsmeminfo.c:
##########
@@ -314,6 +317,17 @@ static ssize_t meminfo_read(FAR struct file *filep, FAR
char *buffer,
buffer += copysize;
buflen -= copysize;
+#ifdef CONFIG_BUILD_PROTECTED
+ /* Trigger free_delaylist operation once */
Review Comment:
let's add more comment here
##########
fs/procfs/fs_procfsmeminfo.c:
##########
@@ -314,6 +317,17 @@ static ssize_t meminfo_read(FAR struct file *filep, FAR
char *buffer,
buffer += copysize;
buflen -= copysize;
+#ifdef CONFIG_BUILD_PROTECTED
+ /* Trigger free_delaylist operation once */
+
+ ptr = mm_malloc(entry->heap, 0);
Review Comment:
merge line 283 here
--
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]