Skip to content
Snippets Groups Projects
Commit 4c81e99f authored by Srivatsa Vaddagiri's avatar Srivatsa Vaddagiri Committed by Simon Wilson
Browse files

sched: window-stats: Fix overflow bug


Multiplication over-flow possibility exists in update_task_ravg() when
updating task's window_start. That would lead to incorrect accounting
of task load. Fix the issue by using 64-bit arithmetic.

CRs-Fixed: 665706
Change-Id: I92651c41efa6121bb8fe102e495ae956127b237a
Signed-off-by: default avatarSrivatsa Vaddagiri <vatsa@codeaurora.org>
parent f79f776d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment