xiaoxiang781216 commented on code in PR #12406: URL: https://github.com/apache/nuttx/pull/12406#discussion_r1621255164
########## sched/Kconfig: ########## @@ -1546,6 +1546,13 @@ endmenu # RTOS hooks menu "Signal Configuration" +config SIG_PREALLOC_ACTIONS Review Comment: ```suggestion config SIG_ALLOC_ACTIONS ``` ########## sched/Kconfig: ########## @@ -1546,6 +1546,13 @@ endmenu # RTOS hooks menu "Signal Configuration" +config SIG_PREALLOC_ACTIONS + int "Number of pre-allocated sigactions" + default 4 if DEFAULT_SMALL Review Comment: let's use 1 mean alloc/free directly, other value keeps previous behaviour: 1. allocate in batch 2. never return to heap -- 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]
