Commit 218b957
rcu: Add mutex for rcu boost kthread spawning and affinity setting
As we handle parallel CPU bringup, we will need to take care to avoid
spawning multiple boost threads, or race conditions when setting their
affinity. Spotted by Paul McKenney.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>1 parent 150154a commit 218b957
3 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4570 | 4570 | | |
4571 | 4571 | | |
4572 | 4572 | | |
| 4573 | + | |
4573 | 4574 | | |
4574 | 4575 | | |
4575 | 4576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
| 1175 | + | |
1175 | 1176 | | |
1176 | | - | |
| 1177 | + | |
1177 | 1178 | | |
1178 | 1179 | | |
1179 | 1180 | | |
1180 | 1181 | | |
1181 | 1182 | | |
1182 | 1183 | | |
1183 | | - | |
| 1184 | + | |
1184 | 1185 | | |
1185 | 1186 | | |
1186 | 1187 | | |
1187 | 1188 | | |
1188 | 1189 | | |
1189 | 1190 | | |
1190 | 1191 | | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
1191 | 1195 | | |
1192 | 1196 | | |
1193 | 1197 | | |
| |||
1210 | 1214 | | |
1211 | 1215 | | |
1212 | 1216 | | |
| 1217 | + | |
1213 | 1218 | | |
1214 | 1219 | | |
1215 | 1220 | | |
| |||
1218 | 1223 | | |
1219 | 1224 | | |
1220 | 1225 | | |
| 1226 | + | |
1221 | 1227 | | |
1222 | 1228 | | |
1223 | 1229 | | |
| |||
0 commit comments