RTEMS | Draft: cpukit/rtems/src: Removed #if 1 clause, and comment section clarified; (!1075)

Samuel Viegas (@samuel.viegas) gitlab at rtems.org
Wed Jul 1 15:59:03 UTC 2026




Samuel Viegas commented on a discussion on cpukit/rtems/src/msgqconstruct.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1075#note_153547

 >      is_global = false;
 >    }
 >  
 > -#if 1
 >    /*
 > -   * I am not 100% sure this should be an error.
 > -   * It seems reasonable to create a que with a large max size,
 > -   * and then just send smaller msgs from remote (or all) nodes.
 > +   * A global queue may receive remote sends over MPCI packets.  The queue

I just added a test case to testsuites/mptests/mp11 to check whether RTEMS_INVALID_SIZE error is returned when there is an attempt to construct a queue with  a size bigger than max_packet_payload_size.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1075#note_153547
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-1p74ygmdzoh8y65uwvxwizb0k-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260701/bf7e6d87/attachment-0001.htm>


More information about the bugs mailing list