summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorKe Wang <ke.wang@spreadtrum.com>2017-10-18 15:49:33 +0800
committerJoel Fernandes <joelaf@google.com>2017-10-20 16:17:02 +0000
commit18b484845c57c7814146d58c9d8848bcaf6b37ba (patch)
tree97efd3cb84d6789fb547f4d7d49a25ddac434fc3 /drivers/tty
parent724091f67f61e8362d00e15ddda4c1e224671f7e (diff)
trace: sched: Fix util_avg_walt in sched_load_avg_cpu trace
cumulative_runnable_avg was introduced in commit ee4cebd75ed7 ("sched: EAS/WALT: use cr_avg instead of prev_runnable_sum") in cpu_util() for task placement, which is used to replace prev_runnable_sum. Fix util_avg_walt in sched_load_avg_cpu trace, which use prev_runnable_sum for cpu_util(). Moreover, fix potential overflow due to cumulative_runnable_avg is in u64. Change-Id: I1220477bf2ff32a6e34a34b6280b15a8178203a8 Signed-off-by: Ke Wang <ke.wang@spreadtrum.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions