Commit 6dafc71
Peter Zijlstra
sched: Simplify sched_tick_remote()
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.236247952@infradead.org1 parent 4bdada7 commit 6dafc71
1 file changed
Lines changed: 16 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5721 | 5721 | | |
5722 | 5722 | | |
5723 | 5723 | | |
5724 | | - | |
5725 | | - | |
5726 | | - | |
5727 | 5724 | | |
5728 | 5725 | | |
5729 | 5726 | | |
| |||
5733 | 5730 | | |
5734 | 5731 | | |
5735 | 5732 | | |
5736 | | - | |
5737 | | - | |
| 5733 | + | |
| 5734 | + | |
| 5735 | + | |
5738 | 5736 | | |
5739 | | - | |
5740 | | - | |
5741 | | - | |
5742 | | - | |
| 5737 | + | |
| 5738 | + | |
5743 | 5739 | | |
5744 | | - | |
| 5740 | + | |
| 5741 | + | |
| 5742 | + | |
| 5743 | + | |
| 5744 | + | |
| 5745 | + | |
| 5746 | + | |
| 5747 | + | |
| 5748 | + | |
5745 | 5749 | | |
5746 | | - | |
5747 | | - | |
5748 | | - | |
5749 | | - | |
5750 | | - | |
5751 | | - | |
5752 | | - | |
| 5750 | + | |
| 5751 | + | |
5753 | 5752 | | |
5754 | | - | |
5755 | | - | |
5756 | | - | |
5757 | | - | |
5758 | | - | |
5759 | | - | |
5760 | 5753 | | |
5761 | 5754 | | |
5762 | 5755 | | |
| |||
0 commit comments