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

Skip to content
Commit 0cdc29e2 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar Committed by Gerrit - the friendly Code Review server
Browse files

sched: rt: Use RCU lock in rt task cpu select path



RT energy aware cpu selection tries to get cpu idle state
without holding rcu read lock, it may get stale/corrupted value.

Fix it by moving rcu unlock to end for energy aware cpu
selection.

Change-Id: Ia219062db6b97b9a44681647cea077c45c29cff2
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 071be09f
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