forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spinlock: remove recursive locks with write_lock_irqsave/read_lock_ir…
…qsave reason: 1 There is a similar PR, apache#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. Signed-off-by: hujun5 <[email protected]>
- Loading branch information
1 parent
9751e35
commit 22cac19
Showing
2 changed files
with
21 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters