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 2022/06/06 14:48:25 UTC

[GitHub] [incubator-nuttx] Ouss4 opened a new pull request, #6372: arch/xtensa: Initialize the internal heap early with the rest of custom heaps

Ouss4 opened a new pull request, #6372:
URL: https://github.com/apache/incubator-nuttx/pull/6372

   ## Summary
   We might have a situation where an allocation will be requested before the call to `up_initialize` is performed. 
   For the current code, this situation is the stack for the CPUs in SMP mode.  When the internal heap is enabled, the stack will be allocated from there, however the SMP bring up is before `up_initialize` and this will cause a crash.
   
   Beside this issue, it's natural to have the internal heap initialized with the other heaps.
   
   ## Impact
   Xtensa chips
   ## Testing
   ESP32
   


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


[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6372: arch/xtensa: Initialize the internal heap early with the rest of custom heaps

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #6372:
URL: https://github.com/apache/incubator-nuttx/pull/6372


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