masayuki2009 commented on pull request #5896:
URL: https://github.com/apache/incubator-nuttx/pull/5896#issuecomment-1081285656


   @anchao 
   
   Did you test this PR with your Cortex-A7 SMP board?
   I noticed that a deadlock happens with the NXP sabre-6quad board (quad 
Cortex-A9).
   
   ```
   NuttShell (NSH) NuttX-3.6.1
   nsh> uname -a
   NuttX 3.6.1 e5122937af Mar 29 2022 09:35:19 arm sabre-6quad
   nsh> ps
     PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK  
 USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread N-- Assigned           00000000 001000 
000440  44.0%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 001000 
000664  66.4%  CPU1 IDLE
       2     2   2   0 FIFO     Kthread N-- Running            00000000 001000 
000664  66.4%  CPU2 IDLE
       3     3   3   0 FIFO     Kthread N-- Running            00000000 001000 
000664  66.4%  CPU3 IDLE
       4     4 --- 192 RR       Kthread --- Waiting  Semaphore 00000000 002016 
000396  19.6%  hpwork 0x1082155c
       5     5   0 100 RR       Task    --- Running            00000000 002024 
001188  58.6%  nsh_main
   nsh> smp
     Main[0]: Running on CPU0
     Main[0]: Initializing barrier
   Thread[1]: Started
     Main[0]: Thread 1 created
   Thread[1]: Running on CPU0
     Main[0]: Now running on CPU1
   Thread[2]: Started
     Main[0]: Thread 2 created
   Thread[2]: Running on CPU1
     Main[0]: Now running on CPU2
   Thread[3]: Started
     Main[0]: Thread 3 created
   Thread[3]: Running on CPU2
   Thread[4]: Started
     Main[0]: Thread 4 created
   Thread[4]: Running on CPU3
     Main[0]: Now running on CPU3
   Thread[5]: Started
   Thread[5]: Running on CPU0
   Thread[1]: Now running on CPU2
     Main[0]: Thread 5 created
   Thread[3]: Now running on CPU3
   Thread[4]: Now running on CPU1
   Thread[6]: Started
   Thread[6]: Running on CPU0
   Thread[2]: Now running on CPU2
   Thread[5]: Now running on CPU3
     Main[0]: Thread 6 created
     Main[0]: Now running on CPU1
   Thread[1]: Now running on CPU1
   Thread[3]: Now running on CPU0
   Thread[4]: Now running on CPU2
   Thread[7]: Started
   Thread[7]: Running on CPU3
   Thread[6]: Now running on CPU1
   Thread[2]: Now running on CPU0
   Thread[5]: Now running on CPU2
     Main[0]: Thread 7 created
   ```
   


-- 
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-unsubscr...@nuttx.apache.org

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


Reply via email to