extinguish opened a new pull request, #17357:
URL: https://github.com/apache/nuttx/pull/17357

   ## Summary
   
   Added support for signal decoupling. In scenarios with strict requirements 
for runtime memory and code size, this feature can be enabled by setting 
CONFIG_DISABLE_SIGNALS=y, which will disable the core functionality of signals. 
 
   
   It should be noted that CONFIG_DISABLE_SIGNALS=y does not completely disable 
all signal functionalities, as some operations such as kill and sleep remain 
essential in certain contexts. Therefore, only the core queue component of 
signals is disabled, while basic operations like sleep and kill continue to be 
supported.
   
   ## Impact
   
   This feature does not modify the functional logic of existing capabilities. 
It only decouples the signal functionality.  
   When `CONFIG_DISABLE_SIGNALS=y`, it can reduce runtime memory usage and 
decrease code size.
   
   
   ## Testing
   
   1. has passed ostest on CONFIG_DISABLE_SIGNALS=y
   2. Here are the test results from our ARMv7-A platform:  
   
   When `CONFIG_DISABLE_SIGNALS=n`:  
   Binary size = 1,295,424 bytes, Used RAM = 37,980 bytes  
   
   When `CONFIG_DISABLE_SIGNALS=y`:  
   Binary size = 1,262,624 bytes, Used RAM = 37,852 bytes  
   
   This shows a reduction of 32,800 bytes in binary size and 128 bytes in RAM 
usage.
   
   


-- 
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]

Reply via email to