Commit 7a6c6bce authored by Ingo Molnar's avatar Ingo Molnar

sched: enable wake-idle on CONFIG_SCHED_MC=y

most multicore CPUs today have shared L2 caches, so tune things so
that the spreading amongst cores is more aggressive.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 95dbb421
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
.cache_nice_tries = 0, \ .cache_nice_tries = 0, \
.busy_idx = 0, \ .busy_idx = 0, \
.idle_idx = 0, \ .idle_idx = 0, \
.newidle_idx = 1, \ .newidle_idx = 0, \
.wake_idx = 0, \ .wake_idx = 0, \
.forkexec_idx = 0, \ .forkexec_idx = 0, \
.flags = SD_LOAD_BALANCE \ .flags = SD_LOAD_BALANCE \
...@@ -128,14 +128,15 @@ ...@@ -128,14 +128,15 @@
.imbalance_pct = 125, \ .imbalance_pct = 125, \
.cache_nice_tries = 1, \ .cache_nice_tries = 1, \
.busy_idx = 2, \ .busy_idx = 2, \
.idle_idx = 1, \ .idle_idx = 0, \
.newidle_idx = 2, \ .newidle_idx = 0, \
.wake_idx = 1, \ .wake_idx = 1, \
.forkexec_idx = 1, \ .forkexec_idx = 1, \
.flags = SD_LOAD_BALANCE \ .flags = SD_LOAD_BALANCE \
| SD_BALANCE_NEWIDLE \ | SD_BALANCE_NEWIDLE \
| SD_BALANCE_EXEC \ | SD_BALANCE_EXEC \
| SD_WAKE_AFFINE \ | SD_WAKE_AFFINE \
| SD_WAKE_IDLE \
| SD_SHARE_PKG_RESOURCES\ | SD_SHARE_PKG_RESOURCES\
| BALANCE_FOR_MC_POWER, \ | BALANCE_FOR_MC_POWER, \
.last_balance = jiffies, \ .last_balance = jiffies, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment