You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/06/11 11:22:20 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6393: sched/mqueue: replace inline linklist to improve performance

pkarashchenko commented on code in PR #6393:
URL: https://github.com/apache/incubator-nuttx/pull/6393#discussion_r895011474


##########
sched/mqueue/mq_initialize.c:
##########
@@ -78,13 +61,13 @@ static struct mqueue_msg_s  *g_msgfreeirqalloc;
  *
  ****************************************************************************/
 
-static struct mqueue_msg_s *
-mq_msgblockalloc(FAR sq_queue_t *queue, uint16_t nmsgs,
+static void
+mq_msgblockalloc(FAR struct list_node *list, uint16_t nmsgs,
                  uint8_t alloc_type)
 {
   struct mqueue_msg_s *mqmsgblock;

Review Comment:
   ```suggestion
      FAR struct mqueue_msg_s *mqmsgblock;
   ```
   



-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org