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

Skip to content
Commit ad3fb3bd authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala
Browse files

sched/fair: fix "BUG: sleeping function called from invalid context"



Commit 39d60ed9 ("sched/fair: Add snapshot of placement changes")
introduced a bug where we end up calling rcu_read_unlock() without
calling rcu_read_lock() and leading to warning "BUG: sleeping function
called from invalid context" while trying to find the energy efficient CPU
for the tasks.

Change-Id: I727d11660ed43341751dfb6e6f8d23968dfe9b49
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent 3e9ffe23
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