From: Dietmar Eggemann Date: Fri, 13 Jan 2017 13:51:24 +0000 (+0000) Subject: sched: Remove sysctl_sched_is_big_little X-Git-Tag: release-20171130_firefly~4^2~100^2~53 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3bf7b11f4b56315b1347e7d5f8fbd5a40db55a92;p=firefly-linux-kernel-4.4.55.git sched: Remove sysctl_sched_is_big_little With the new wakeup approach this sysctl is not necessary any more. Change-Id: I52114b3c918791f6a4f9f30f50002919ccbc1a9c Signed-off-by: Dietmar Eggemann (cherry picked from commit 885c0d503bcdf0ef4e9b46822496f16b20aa3bbd) Signed-off-by: Chris Redpath --- diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h index d68e88c9d4d7..2bf4520d8089 100644 --- a/include/linux/sched/sysctl.h +++ b/include/linux/sched/sysctl.h @@ -39,7 +39,6 @@ extern unsigned int sysctl_sched_latency; extern unsigned int sysctl_sched_min_granularity; extern unsigned int sysctl_sched_wakeup_granularity; extern unsigned int sysctl_sched_child_runs_first; -extern unsigned int sysctl_sched_is_big_little; extern unsigned int sysctl_sched_sync_hint_enable; extern unsigned int sysctl_sched_initial_task_util; extern unsigned int sysctl_sched_cstate_aware; diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 387950f2649d..770d0ab957cc 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -53,7 +53,6 @@ unsigned int sysctl_sched_latency = 6000000ULL; unsigned int normalized_sysctl_sched_latency = 6000000ULL; -unsigned int sysctl_sched_is_big_little = 0; unsigned int sysctl_sched_sync_hint_enable = 1; unsigned int sysctl_sched_initial_task_util = 0; unsigned int sysctl_sched_cstate_aware = 1; diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 8b0542861c42..8ea768245b92 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -306,8 +306,8 @@ static struct ctl_table kern_table[] = { .extra2 = &max_sched_granularity_ns, }, { - .procname = "sched_is_big_little", - .data = &sysctl_sched_is_big_little, + .procname = "sched_sync_hint_enable", + .data = &sysctl_sched_sync_hint_enable, .maxlen = sizeof(unsigned int), .mode = 0644, .proc_handler = proc_dointvec, @@ -342,13 +342,6 @@ static struct ctl_table kern_table[] = { .proc_handler = proc_dointvec, }, #endif - { - .procname = "sched_sync_hint_enable", - .data = &sysctl_sched_sync_hint_enable, - .maxlen = sizeof(unsigned int), - .mode = 0644, - .proc_handler = proc_dointvec, - }, { .procname = "sched_initial_task_util", .data = &sysctl_sched_initial_task_util,