Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 79e3f0d2 authored by Srivatsa Vaddagiri's avatar Srivatsa Vaddagiri Committed by Gerrit - the friendly Code Review server
Browse files

sched: Fix inaccurate accounting for real-time task



It is possible that rq->clock_task was not updated in put_prev_task()
in which case we can potentially overcharge a real-time task for time
it did not run. This is because clock_task could be stale and not
represent the exact time real-time task started running.

Fix this by forcing update of rq->clock_task when real-time task
starts running.

Change-Id: I8320bb4e47924368583127b950d987925e8e6a6c
Signed-off-by: default avatarSrivatsa Vaddagiri <vatsa@codeaurora.org>
parent 44f61cda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment