diff options
author | Alex Shi <[email protected]> | 2024-02-10 19:39:22 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-02-28 15:43:17 +0100 |
commit | fbc449864e0d2ee2c16f3af2d1e9093b9b8d7ad0 (patch) | |
tree | 369e326110976cb3ea58560178482f9ad596e501 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 45de20623475049c424bc0b89f42efca54995edd (diff) |
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Ricardo Neri <[email protected]>
Reviewed-by: Ricardo Neri <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions