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/07/01 14:19:02 UTC

[GitHub] [incubator-nuttx] GUIDINGLI opened a new pull request #4029: mm: fix memory corruption when loop create/exit thread in SMP mode

GUIDINGLI opened a new pull request #4029:
URL: https://github.com/apache/incubator-nuttx/pull/4029


   
   ## Summary
   
   Root casue:
   when do thread exit, need add free stack operation to mm_delaylist,
   but in SMP mode, CPU0 thread1 exit, at this time, CPU1 call malloc
   and free mm_delaylist.
   
   Fix:
   Divide mm_delaylist for per CPU in SMP mode.
   
   Change-Id: Ibf7d04614ea2f99fb5b506356b7346a0d94f0590
   Signed-off-by: ligd <li...@xiaomi.com>
   
   
   ## Impact
   
   ## Testing
   
   


-- 
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 #4029: mm: fix memory corruption when loop create/exit thread in SMP mode

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


   


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