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/03/18 23:46:52 UTC

[GitHub] [incubator-nuttx] masayuki2009 edited a comment on pull request #5761: arch/arm: Remove the code copy register from xcpt to stack

masayuki2009 edited a comment on pull request #5761:
URL: https://github.com/apache/incubator-nuttx/pull/5761#issuecomment-1072888807


   @anchao @xiaoxiang781216 
   
    lm3s6965-ek:qemu-protected works now.
   
   However, I noticed that a deadlock happens with raspberrypi-pico:smp.
   The same issue also happens with raspberrypi-pico:nsh (non SMP).
   Without this PR, the issues do not happen.
   
   ```
   NuttShell (NSH) NuttX-3.6.1
   nsh> uname -a
   NuttX 3.6.1 ae6658ba6e Mar 18 2022 23:27:18 arm raspberrypi-pico
   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 000416  41.6%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 001000 000112  11.2%  CPU1 IDLE
       2     2   0 100 RR       Task    --- Running            00000000 002024 001168  57.7%  nsh_main
   nsh> free
                      total       used       free    largest  nused  nfree
           Umem:     257728       9408     248320     248320     37      1
   nsh> ostest
   stdio_test: write fd=1
   stdio_test: Standard I/O Check: printf
   stdio_test: write fd=2
   ...
   End of test memory usage:
   VARIABLE  BEFORE   AFTER
   ======== ======== ========
   arena       3eec0    3eec0
   ordblks         2        4
   mxordblk    38490    37bc0
   uordblks     69e0     69e0
   fordblks    384e0    384e0
   
   user_main: pthread_rwlock test
   pthread_rwlock: Initializing rwlock
   ```


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