[PATCH 0/4] sched/numa: remove unused code
From: Vincent Guittot
Date: Wed Aug 29 2018 - 09:19:22 EST
With:
commit 2d4056fafa19 ("sched/numa: Remove numa_has_capacity()")
some code and fields are not used anymore.
Patch 1-2 remove the unused code.
Patch 3 goes a bit further and removes smt_gain field from sched_domain.
Patch 4 removes sd parameter from arch_scale_cpu_capacity once the last
user has been removed by patch 3
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>
Cc: Rik van Riel <riel@xxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx (open list)
Vincent Guittot (4):
sched/numa: remove unused code from update_numa_stats()
sched/numa: remove unused nr_running field
sched/numa: remove smt_gain
sched/topology: remove unused sd param from arch_scale_cpu_capacity()
arch/arm/kernel/topology.c | 2 +-
drivers/base/arch_topology.c | 6 +++---
include/linux/arch_topology.h | 2 +-
include/linux/sched/topology.h | 1 -
kernel/sched/cpufreq_schedutil.c | 2 +-
kernel/sched/deadline.c | 2 +-
kernel/sched/fair.c | 32 +++++---------------------------
kernel/sched/pelt.c | 2 +-
kernel/sched/sched.h | 7 ++-----
kernel/sched/topology.c | 2 --
10 files changed, 15 insertions(+), 43 deletions(-)
--
2.7.4