summaryrefslogtreecommitdiff
path: root/kernel/sched/fair.c
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-05-25 12:02:27 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-03 14:47:39 -0700
commiteedf0821f656d424859d37d018e699b9e58344c6 (patch)
tree7a982bdb2909c458cca1f04cedd5a0eddc2010b5 /kernel/sched/fair.c
parent6b2c4343e7b18d9075b45c387396623665786534 (diff)
sched: Remove the sched heavy task frequency guidance feature
This has always been unused feature given its limitation of adding phantom load to the system. Since there are no immediate plans of using this and the fact that it adds unnecessary complications to the new load fixup mechanism, remove this feature for now. It can be revisited later in light of the new mechanism. Change-Id: Ie9501a898d0f423338293a8dde6bc56f493f1e75 Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org> Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/sched/fair.c')
-rw-r--r--kernel/sched/fair.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 10eee61d906c..6c5d393da122 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2725,18 +2725,6 @@ unsigned int __read_mostly sched_spill_load;
unsigned int __read_mostly sysctl_sched_spill_load_pct = 100;
/*
- * Tasks with demand >= sched_heavy_task will have their
- * window-based demand added to the previous window's CPU
- * time when they wake up, if they have slept for at least
- * one full window. This feature is disabled when the tunable
- * is set to 0 (the default).
- */
-#ifdef CONFIG_SCHED_FREQ_INPUT
-unsigned int __read_mostly sysctl_sched_heavy_task_pct;
-unsigned int __read_mostly sched_heavy_task;
-#endif
-
-/*
* Tasks whose bandwidth consumption on a cpu is more than
* sched_upmigrate are considered "big" tasks. Big tasks will be
* considered for "up" migration, i.e migrating to a cpu with better
@@ -2818,8 +2806,6 @@ void set_hmp_defaults(void)
update_up_down_migrate();
#ifdef CONFIG_SCHED_FREQ_INPUT
- sched_heavy_task =
- pct_to_real(sysctl_sched_heavy_task_pct);
sched_major_task_runtime =
mult_frac(sched_ravg_window, MAJOR_TASK_PCT, 100);
#endif