masayuki2009 commented on PR #9065:
URL: https://github.com/apache/nuttx/pull/9065#issuecomment-1519260725

   @hujun260 
   
   I think that 'cpu: ' in the commit log is too generic and would lead to 
misunderstanding.
   My recommendation is to use 'arm64: ' instead.
   
   ```
   commit 6063c0516e9899230d6de9e1c9ac8ca1bfbd0143 (tag: nuttx-20230424-015132)
   Author: hujun5 <huj...@xiaomi.com>
   Date:   Fri Apr 7 17:11:33 2023 +0800
   
       cpu: in SMP pthread_cancel occasionally deadlock
       
       In smp when cpu0 calls up_cpu_resume to release the cpu1 lock, another 
locked cpu1 did not execute immediately,
       and soon cpu0 called up_cpu_resume again, now cpu1 unable to respond to 
the interrupt at this time, resulting in a deadlock.
       Our solution is to restore cpu1 execution from asynchronous to 
synchronous to ensure that cpu1 is restored.
       
       Signed-off-by: hujun5 <huj...@xiaomi.com>
   ```


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