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 2021/12/11 13:18:43 UTC

[GitHub] [incubator-nuttx] Donny9 commented on pull request #4977: arch: add CONFIG_ARCH_STACKSIZE_ADJUSTMENT to reduce variability

Donny9 commented on pull request #4977:
URL: https://github.com/apache/incubator-nuttx/pull/4977#issuecomment-991641158


   > @Donny9 can you please give an example when or how this is used?
   
   We all know that a task may be somewhat larger on the sim than the stack on the board because some debug like asan etc。
   Before this patch, the default stack size is 65536 for ARCH_SIM, but these task may overflow on the board because their stack size are 2048 because of !ARCH_SIM. So for the different arch, there will be two different configurations. 
   This patch can automatically extend the size of the extension stack without changing config so keeping a configuration.


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