nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] patacongo commented on a change in pull request #761: Merge garbage feature to mm/mm_heap
Date Thu, 09 Apr 2020 16:43:59 GMT
patacongo commented on a change in pull request #761: Merge garbage feature to mm/mm_heap
URL: https://github.com/apache/incubator-nuttx/pull/761#discussion_r406336424
 
 

 ##########
 File path: include/nuttx/mm/mm.h
 ##########
 @@ -263,6 +270,12 @@ struct mm_heap_s
    */
 
   struct mm_freenode_s mm_nodelist[MM_NNODES];
+
+#ifdef __KERNEL__
+  /* Free delay list, for some situation can't do free immdiately */
+
+  struct mm_delaynode_s mm_delaylist;
 
 Review comment:
   I don't think this matters since struct mm_delaynode_s is defined to be only:
   
       #ifdef __KERNEL__
       struct mm_delaynode_s
       {
         struct mm_delaynode_s *flink;
       };
       #endif

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message