diff options
author | Olav Haugan <ohaugan@codeaurora.org> | 2014-12-06 10:09:43 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:01:21 -0700 |
commit | 90dc3fa9a78bc47e995772172cce0089b6f17ec1 (patch) | |
tree | ded55888710d6b3fcbc8e378c9293bdefb36d18f /kernel/sysctl.c | |
parent | c7b587d9aa093de529b2fc6efd90b1f856a78bc7 (diff) |
sched: Avoid frequent task migration due to EA in lb
A new tunable exists that allow task migration to be throttled when the
scheduler tries to do task migrations due to Energy Awareness (EA). This
tunable is only taken into account when migrations occur in the tick
path. Extend the usage of the tunable to take into account the load
balancer (lb) path also.
In addition ensure that the start of task execution on a CPU is updated
correctly. If a task is preempted but still runnable on the same CPU the
start of execution should not be updated. Only update the start of
execution when a task wakes up after sleep or moves to a new CPU.
Change-Id: I6b2a8e06d8d2df8e0f9f62b7aba3b4ee4b2c1c4d
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
[rameezmustafa@codeaurora.org]: Port to msm-3.18]
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org
[joonwoop@codeaurora.org: fixed conflict in group_classify() and
set_task_cpu().]
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 9c2719cc9cc9..5e171b035482 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -377,7 +377,7 @@ static struct ctl_table kern_table[] = { .data = &sysctl_sched_min_runtime, .maxlen = sizeof(unsigned int), .mode = 0644, - .proc_handler = proc_dointvec, + .proc_handler = sched_hmp_proc_update_handler, }, { .procname = "sched_spill_load", |