File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## Internals of Real-Time Specific Locks
2
+
3
+ ### Mutext lock and unlock
1
4
``` mermaid
2
5
%%{
3
6
init: {
@@ -39,6 +42,7 @@ rt_mutex_slowunlock -->|2| mark_wakeup_next_waiter --> owner
39
42
end
40
43
```
41
44
45
+ ### Local lock lock and unlock
42
46
``` mermaid
43
47
%%{
44
48
init: {
@@ -96,6 +100,7 @@ rt_spin_unlock --> rcu_read_unlock
96
100
97
101
```
98
102
103
+ ### raw_spin_lock_irq save/restore
99
104
``` mermaid
100
105
%%{
101
106
init: {
@@ -127,6 +132,7 @@ do_raw_spin_unlock --> queued_spin_unlock --> smp_store_release
127
132
do_raw_spin_lock --> queued_spin_lock --> set_locked
128
133
```
129
134
135
+ ### raw_spin lock/unlock irq
130
136
``` mermaid
131
137
%%{
132
138
init: {
@@ -151,4 +157,4 @@ raw_spin_unlock_irq --> _raw_spin_unlock_irq --> __raw_spin_unlock_irq
151
157
__raw_spin_unlock_irq -->|1| do_raw_spin_unlock
152
158
__raw_spin_unlock_irq -->|2| local_irq_enable
153
159
__raw_spin_unlock_irq -->|2| preempt_enable
154
-
160
+ ```
You can’t perform that action at this time.
0 commit comments