zyfeier opened a new pull request, #6987: URL: https://github.com/apache/incubator-nuttx/pull/6987
## Summary Add CONFIG_TASK_LIST_OPTIMIZE feature to improve sem and mqueue performance. 1. move waitingforsemaphore list to sem_s; 2. move waitingformqnotempty and waitingformqnotfull list to mqueue_inode_s; ## Impact Code Size: Before: ``` text data bss dec hex filename 109692 224 24940 134856 20ec8 nuttx ``` After: Disable CONFIG_TASK_LIST_OPTIMIZE ``` text data bss dec hex filename 109732 224 24940 134896 20ef0 nuttx ``` Enable CONFIG_TASK_LIST_OPTIMIZE ``` text data bss dec hex filename 109924 312 25144 135380 210d4 nuttx ``` Performance: 20 semaphore and 20 threads with different priorities. sem_post -> sem_wait (cycle count): before: `8179` after: `6988` ## Testing sabre-6quad:nsh -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org