aboutsummaryrefslogtreecommitdiff
path: root/rust/alloc
diff options
context:
space:
mode:
authorAlex Shi <alexs@kernel.org>2024-02-10 19:39:21 +0800
committerIngo Molnar <mingo@kernel.org>2024-02-28 15:43:17 +0100
commit45de20623475049c424bc0b89f42efca54995edd (patch)
treed27b3c2b080f7a5fa10e5548c452616afae187d4 /rust/alloc
parent5a64983731566f3b102b4ed12445b8a1b2f46a46 (diff)
sched/fair: Rework sched_use_asym_prio() and sched_asym_prefer()
sched_use_asym_prio() and sched_asym_prefer() are used together in various places. Consolidate them into a single function sched_asym(). The existing sched_asym() function is only used when collecting statistics of a scheduling group. Rename it as sched_group_asym(), and remove the obsolete function description. This makes the code easier to read. No functional changes. 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-3-alexs@kernel.org
Diffstat (limited to 'rust/alloc')
0 files changed, 0 insertions, 0 deletions