Commit fbc4498
sched/fair: Check the SD_ASYM_PACKING flag in sched_use_asym_prio()
sched_use_asym_prio() checks whether CPU priorities should be used. It
makes sense to check for the SD_ASYM_PACKING() inside the function.
Since both sched_asym() and sched_group_asym() use sched_use_asym_prio(),
remove the now superfluous checks for the flag in various places.
Signed-off-by: Alex Shi <alexs@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Reviewed-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20240210113924.1130448-4-alexs@kernel.org1 parent 45de206 commit fbc4498
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9744 | 9744 | | |
9745 | 9745 | | |
9746 | 9746 | | |
| 9747 | + | |
| 9748 | + | |
| 9749 | + | |
9747 | 9750 | | |
9748 | 9751 | | |
9749 | 9752 | | |
| |||
9937 | 9940 | | |
9938 | 9941 | | |
9939 | 9942 | | |
9940 | | - | |
9941 | | - | |
9942 | | - | |
| 9943 | + | |
| 9944 | + | |
9943 | 9945 | | |
9944 | | - | |
9945 | 9946 | | |
9946 | 9947 | | |
9947 | 9948 | | |
| |||
11024 | 11025 | | |
11025 | 11026 | | |
11026 | 11027 | | |
11027 | | - | |
11028 | | - | |
11029 | | - | |
| 11028 | + | |
11030 | 11029 | | |
11031 | 11030 | | |
11032 | 11031 | | |
| |||
11122 | 11121 | | |
11123 | 11122 | | |
11124 | 11123 | | |
11125 | | - | |
11126 | | - | |
| 11124 | + | |
11127 | 11125 | | |
11128 | 11126 | | |
11129 | 11127 | | |
| |||
0 commit comments