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

Skip to content
Commit a5fb3563 authored by Puja Gupta's avatar Puja Gupta
Browse files

sched/fair: Respect wake to idle over sync wakeup



Sync wakeup currently takes precedence over wake to idle flag. A sync
wakeup causes a task to be placed on a non-idle CPU because we expect
this CPU to become idle very shortly. However, even though the sync flag
is set there is no guarantee that the task will go to sleep right away
As a consequence performance suffers.

Fix this by preferring an idle CPU over a potential busy cpu when both
wake to idle and sync wakeup are set.

CRs-Fixed: 2136679
Change-Id: If91649268a8fd69fd439b64dec9879d5276e09a8
Signed-off-by: default avatarPuja Gupta <pujag@codeaurora.org>
parent 935c3e96
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