diff options
author | 2024-02-10 19:39:22 +0800 | |
---|---|---|
committer | 2024-02-28 15:43:17 +0100 | |
commit | fbc449864e0d2ee2c16f3af2d1e9093b9b8d7ad0 (patch) | |
tree | 369e326110976cb3ea58560178482f9ad596e501 /kernel/trace/trace_benchmark.c | |
parent | sched/fair: Rework sched_use_asym_prio() and sched_asym_prefer() (diff) | |
download | linux-fbc449864e0d2ee2c16f3af2d1e9093b9b8d7ad0.tar.gz linux-fbc449864e0d2ee2c16f3af2d1e9093b9b8d7ad0.tar.bz2 linux-fbc449864e0d2ee2c16f3af2d1e9093b9b8d7ad0.zip |
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.org
Diffstat (limited to 'kernel/trace/trace_benchmark.c')
0 files changed, 0 insertions, 0 deletions