Commit f2fe382
committed
sched_ext: Make scx_exit() and scx_vexit() return bool
Make scx_exit() and scx_vexit() return bool indicating whether the calling
thread successfully claimed the exit. This will be used by the abort mechanism
added in a later patch.
Reviewed-by: Dan Schatzberg <schatzberg.dan@gmail.com>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Cc: Emil Tsalapatis <etsal@meta.com>
Signed-off-by: Tejun Heo <tj@kernel.org>1 parent 5ebec44 commit f2fe382
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
188 | 189 | | |
| 190 | + | |
| 191 | + | |
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| |||
4400 | 4403 | | |
4401 | 4404 | | |
4402 | 4405 | | |
4403 | | - | |
| 4406 | + | |
4404 | 4407 | | |
4405 | 4408 | | |
4406 | 4409 | | |
4407 | 4410 | | |
4408 | 4411 | | |
4409 | 4412 | | |
4410 | | - | |
| 4413 | + | |
4411 | 4414 | | |
4412 | 4415 | | |
4413 | 4416 | | |
| |||
4424 | 4427 | | |
4425 | 4428 | | |
4426 | 4429 | | |
| 4430 | + | |
4427 | 4431 | | |
4428 | 4432 | | |
4429 | 4433 | | |
| |||
0 commit comments