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

Skip to content
Commit 1117bade authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

sched: Avoid placing task on isolated prev_cpu



When best energy efficient cpu is not found, then task gets
placed in its previous cpu, and it could be isolated.
For non-kernel threads, fallback mechanism selects unisolated cpu
which is extra overhead, and also unpinned kernel threads are gets
placed in the previous cpu till the energy efficient cpu found.
Which makes the isolated cpu to wakeup, though the kernel thread
can run on other cpus.

So make sure the fbt returns unisolated cpu, if the task's prev_cpu
is isolated.

Change-Id: Ia13cb08814141d1c08063c1aa9898f7a0101ecd5
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
[clingutla@codeaurora.org: Resolve trivial merge conflicts]
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 4719c01d
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