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

Skip to content
Commit c3774eeb authored by Srivatsa Vaddagiri's avatar Srivatsa Vaddagiri Committed by Stephen Boyd
Browse files

sched: fix reference to wrong cfs_rq



Commit 7db16c8c (sched: Fix SCHED_HRTICK bug leading to late preemption
of tasks) introduced a bug in sched_slice() calculation by using wrong
cfs_rq for tasks. rq->cfs was incorrectly used as task's cfs_rq, rather
than the correct one to which they belonged.

Fix the bug by using correct cfs_rq for tasks.

Signed-off-by: default avatarSrivatsa Vaddagiri <vatsa@codeaurora.org>
parent f6e37923
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