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/22 14:13:59 UTC

[GitHub] [incubator-nuttx] masayuki2009 opened a new pull request #4209: Fix sim smp

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


   ## Summary
   
   - This commits consists of the following 2 commits
   - commit 1: Revert "arch: sim: Workaround to make the IPI work on macOS"
   - commit 2: arch: sim: Add NuttX symbols to make SMP work correctly
      - I noticed that sim:smp does not work correctly on macOS
         due to the recent changes
       - Actually, it can not receive the IPI host signal, so if
         a new task is scheduled on CPU1/2/3, it hangs.
       - Finally, I found that sim_cpu_start() calls pthread_attr_init()
         which locates not on the host OS but on the NuttX
       - This commit fixes this issue by adding the symbol names
         to nuttx-names.in
   
   ## Impact
   
     - sim in SMP mode
      - NOTE: stack usage for CPU1/2/3 IDLE is still incorrect on macOS
   
   ## Testing
   
    - Tested with ostest on Ubuntu 18.04 (x86_64) and macOS 11.4 (x86_64)


-- 
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 #4209: Fix sim smp

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


   


-- 
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] masayuki2009 commented on pull request #4209: Fix sim smp

Posted by GitBox <gi...@apache.org>.
masayuki2009 commented on pull request #4209:
URL: https://github.com/apache/incubator-nuttx/pull/4209#issuecomment-884947192


   See https://github.com/apache/incubator-nuttx/pull/4207#issuecomment-884905428


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