Commit 4bdada7
Peter Zijlstra
sched: Simplify sched_exec()
Use guards to reduce gotos and simplify control flow.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lore.kernel.org/r/20230801211812.168490417@infradead.org1 parent 857d315 commit 4bdada7
1 file changed
Lines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5498 | 5498 | | |
5499 | 5499 | | |
5500 | 5500 | | |
5501 | | - | |
| 5501 | + | |
5502 | 5502 | | |
5503 | 5503 | | |
5504 | | - | |
5505 | | - | |
5506 | | - | |
5507 | | - | |
| 5504 | + | |
| 5505 | + | |
| 5506 | + | |
| 5507 | + | |
5508 | 5508 | | |
5509 | | - | |
5510 | | - | |
| 5509 | + | |
| 5510 | + | |
5511 | 5511 | | |
5512 | | - | |
5513 | | - | |
5514 | | - | |
| 5512 | + | |
5515 | 5513 | | |
5516 | | - | |
5517 | | - | |
| 5514 | + | |
5518 | 5515 | | |
5519 | 5516 | | |
5520 | 5517 | | |
| |||
0 commit comments