mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
sched: Tweak wake_idx
When merging select_task_rq_fair() and sched_balance_self() we lost the use of wake_idx, restore that and set them to 0 to make wake balancing more aggressive. Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
d7c33c4930
commit
78e7ed53c9
7 changed files with 28 additions and 11 deletions
|
|
@ -58,9 +58,10 @@ static inline int pcibus_to_node(struct pci_bus *bus)
|
|||
.busy_idx = 3, \
|
||||
.idle_idx = 1, \
|
||||
.newidle_idx = 2, \
|
||||
.wake_idx = 1, \
|
||||
.wake_idx = 0, \
|
||||
.flags = SD_LOAD_BALANCE \
|
||||
| SD_BALANCE_EXEC \
|
||||
| SD_BALANCE_FORK \
|
||||
| SD_BALANCE_NEWIDLE \
|
||||
| SD_BALANCE_WAKE \
|
||||
| SD_SERIALIZE, \
|
||||
|
|
|
|||
Loading…
Reference in a new issue