[0/4] sched/numa: remove unused code

Message ID 1535548752-4434-1-git-send-email-vincent.guittot@linaro.org
Headers show
Series
  • sched/numa: remove unused code
Related show

Message

Vincent Guittot Aug. 29, 2018, 1:19 p.m.
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@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: linux-kernel@vger.kernel.org (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