Commit ae2bb5a
[nrf fromtree] Bluetooth: Host: Run tx processor on its own thread
When thread that TX processor is used to send commands and data to
Controller is also used for sync commands sending and command buffer
allocation, a deadlock happens.
This thread is used to avoid such deadlocks by moving TX processor to
its own dedicated thread exclusively used by tx processor only.
Co-authored-by: Pavel Vasilyev <[email protected]>
Signed-off-by: Pavel Vasilyev <[email protected]>
Signed-off-by: Aleksander Wasaznik <[email protected]>
(cherry picked from commit f101976)
Signed-off-by: Kyra Lengfeld <[email protected]>1 parent 4b4b39f commit ae2bb5a
2 files changed
+96
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
136 | 156 | | |
137 | 157 | | |
138 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5098 | 5098 | | |
5099 | 5099 | | |
5100 | 5100 | | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
| 5109 | + | |
5101 | 5110 | | |
5102 | 5111 | | |
5103 | 5112 | | |
5104 | 5113 | | |
5105 | 5114 | | |
5106 | | - | |
| 5115 | + | |
5107 | 5116 | | |
5108 | 5117 | | |
5109 | 5118 | | |
5110 | 5119 | | |
5111 | 5120 | | |
5112 | 5121 | | |
| 5122 | + | |
| 5123 | + | |
| 5124 | + | |
5113 | 5125 | | |
5114 | 5126 | | |
| 5127 | + | |
| 5128 | + | |
| 5129 | + | |
5115 | 5130 | | |
5116 | 5131 | | |
| 5132 | + | |
| 5133 | + | |
| 5134 | + | |
| 5135 | + | |
| 5136 | + | |
| 5137 | + | |
| 5138 | + | |
| 5139 | + | |
| 5140 | + | |
| 5141 | + | |
| 5142 | + | |
| 5143 | + | |
| 5144 | + | |
| 5145 | + | |
| 5146 | + | |
| 5147 | + | |
| 5148 | + | |
| 5149 | + | |
| 5150 | + | |
| 5151 | + | |
| 5152 | + | |
| 5153 | + | |
| 5154 | + | |
| 5155 | + | |
| 5156 | + | |
| 5157 | + | |
| 5158 | + | |
| 5159 | + | |
| 5160 | + | |
| 5161 | + | |
| 5162 | + | |
| 5163 | + | |
| 5164 | + | |
| 5165 | + | |
5117 | 5166 | | |
5118 | 5167 | | |
| 5168 | + | |
5119 | 5169 | | |
| 5170 | + | |
| 5171 | + | |
| 5172 | + | |
| 5173 | + | |
| 5174 | + | |
| 5175 | + | |
| 5176 | + | |
| 5177 | + | |
| 5178 | + | |
| 5179 | + | |
| 5180 | + | |
| 5181 | + | |
| 5182 | + | |
| 5183 | + | |
| 5184 | + | |
| 5185 | + | |
| 5186 | + | |
| 5187 | + | |
| 5188 | + | |
| 5189 | + | |
| 5190 | + | |
| 5191 | + | |
| 5192 | + | |
| 5193 | + | |
5120 | 5194 | | |
| 5195 | + | |
5121 | 5196 | | |
0 commit comments