nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #872: nuttx: Change all default stack size to DEFAULT_TASK_STACKSIZE
Date Sat, 25 Apr 2020 17:37:49 GMT

xiaoxiang781216 commented on pull request #872:
URL: https://github.com/apache/incubator-nuttx/pull/872#issuecomment-619414996


   > Some of those small stack sizes, for example, are turned for AVRs that can do everything
they need in 128 or 256 bytes of stack and only hafve 8Kb of RAM total. This kind of change
is would be catastrophic for all users of RAM constrained devices. And that is a significant,
large part of the user community.
   > 
   > You need to think more broadly about all users and not just yourself.
   
   Actually, the default stack size can save a lot of painful here:
   1.For AVR, we can CONFIG_DEFAULT_STACKSIZE to 128 or 256
   2.For sim, w can CONFIG_DEFAULT_STACKSIZE to 4096 or 8124
   The bad is that it's too late to introduce CONFIG_DEFAULT_STACKSIZE.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message