Repository navigation
Commit 02b20f0
Bluetooth: recalculate priorities when channels are starving
To avoid starvation the priority is recalculated so that the starving
channels are promoted to HCI_PRIO_MAX - 1 (6).
HCI_PRIO_MAX (7) is considered special, because it requires CAP_NET_ADMIN
capability which can be used to provide more guaranties, so it is not used
when promoting.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>1 parent ec1cce2 commit 02b20f0
1 file changed
Lines changed: 55 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2170 | 2170 | | |
2171 | 2171 | | |
2172 | 2172 | | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
2173 | 2220 | | |
2174 | 2221 | | |
2175 | 2222 | | |
| |||
2215 | 2262 | | |
2216 | 2263 | | |
2217 | 2264 | | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
2218 | 2268 | | |
2219 | 2269 | | |
2220 | 2270 | | |
| |||
2268 | 2318 | | |
2269 | 2319 | | |
2270 | 2320 | | |
2271 | | - | |
| 2321 | + | |
2272 | 2322 | | |
2273 | 2323 | | |
2274 | 2324 | | |
| |||
2284 | 2334 | | |
2285 | 2335 | | |
2286 | 2336 | | |
| 2337 | + | |
2287 | 2338 | | |
2288 | 2339 | | |
2289 | 2340 | | |
| |||
2309 | 2360 | | |
2310 | 2361 | | |
2311 | 2362 | | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
2312 | 2366 | | |
2313 | 2367 | | |
2314 | 2368 | | |
| |||
0 commit comments