hujun260 opened a new pull request, #13349:
URL: https://github.com/apache/nuttx/pull/13349

   
   
   ## Summary
   In SMP, we have encountered the situation many times where calling 
spin_lock_irqsave first and then calling enter_critical_section subsequently, 
this can lead to a deadlock.
   
   Configuring NuttX and compile:
   $ ./tools/configure.sh -l qemu-armv8a:nsh_smp
   $ make
   Running with qemu
   $ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \
      -machine virt,virtualization=on,gic-version=3 \
      -net none -chardev stdio,id=con,mux=on -serial chardev:con \
      -mon chardev=con,mode=readline -kernel ./nuttx
   
   ## Impact
   none
   
   ## Testing
   ostest
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to