summaryrefslogtreecommitdiff
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2015-01-12 17:13:45 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:01:37 -0700
commitdbd548aed7e2657b1ec16e2b1b6adb43642ea8b3 (patch)
treede7c8a7addd8f0af754775450739c91674e913a4 /kernel/stacktrace.c
parente1e5891538e59dc86915c424a5bc132f2acc5a44 (diff)
sched: fix rounding error on scaled execution time calculation
It's found that the scaled execution time can be less than its actual time due to rounding errors. The HMP scheduler accumulates scaled execution time of tasks to determine if tasks are in need of up-migration. But the rounding error prevents the HMP scheduler from accumulating 100% load which prevents us from ever reaching an up-migrate of 100%. Fix rounding error by rounding quotient up. CRs-fixed: 759041 Change-Id: Ie4d9693593cc3053a292a29078aa56e6de8a2d52 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions