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

Skip to content
Commit 9e84db5d authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

sched: fastpath for prev_cpu



If the prev_cpu can accommodate the task and is idle we should
prefer it instead of going through all the groups and their cpus.

This significantly helps with performance. Especially in
situations where tasks sleeps and wakes up often - the prev_cpu
is likely left idle and we can avail of the hot caches.

This also makes bias_to_prev_cpu() unnecessary, remove it.

Change-Id: If7dc2081b9178f0025545e03db8a33a1f43e32a0
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 8f2d81a9
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