hujun260 opened a new pull request, #14939: URL: https://github.com/apache/nuttx/pull/14939
## Summary spinlock: remove recursive locks with write_lock_irqsave/read_lock_irqsave reason: 1 There is a similar PR, https://github.com/apache/nuttx/pull/14079, 2 Currently, no one is using recursive locks with write_lock_irqsave/read_lock_irqsave. 3 Nested spinlock is harmful, prone to abuse and leading to a decline in code quality and performance 4 Nested spinlock is also not available in Linux. 5 In our future plans, nested usage of enter_critical_section and spin_lock_irqsave will also be removed. ## Impact spinlock ## Testing ci -- 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