summaryrefslogtreecommitdiff
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2015-10-01 15:54:26 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:02:33 -0700
commita805e4b2203d601f0ff64e5eed70a4ce202e824e (patch)
tree8da1a18e39739af8f9fb0752dac30fed99e7eee5 /kernel/sched/sched.h
parentcee02f81686a7295bc93252ca572456017bc641a (diff)
sched: Skip resetting HMP stats when max frequencies remain unchanged
A change in cpufreq policy parameters currently trigger a partial reset of HMP stats. This is necessary when there are changes in the max frequency of any cluster since updated load scaling factors necessitate updating the number of big and small tasks on every CPU. However, this computation is redundant when parameters other than the max freq change. Optimize code by avoiding the redundant calculations. Change-Id: Ib572f5dfdc4ada378e695f328ff81e2ce31132ba Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'kernel/sched/sched.h')
0 files changed, 0 insertions, 0 deletions