summaryrefslogtreecommitdiff
path: root/init/Kconfig
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@codeaurora.org>2014-06-11 23:26:09 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:59:00 -0700
commit551f83f5d66fc9dd6b0edf5129c03f00ac1b81ec (patch)
treee4305202d78c6562451229246e7a57c36f565e81 /init/Kconfig
parent025dedac36fd96e36e04578ff3c055f4b1bc59a6 (diff)
sched: Add CONFIG_SCHED_HMP Kconfig option
Add a compile-time flag to enable or disable scheduler features for HMP (heterogenous multi-processor) systems. Main feature deals with optimizing task placement for best power/performance tradeoff. Also extend features currently dependent on CONFIG_SCHED_FREQ_INPUT to be enabled for CONFIG_HMP as well. Change-Id: I03b3942709a80cc19f7b934a8089e1d84c14d72d Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org> [rameezmustafa@codeaurora.org]: Port to msm-3.18] Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org> [joonwoop@codeaurora.org: fixed minor ifdefry conflict.] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 235c7a2c0d20..ad08a40a304b 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1153,6 +1153,15 @@ config CGROUP_WRITEBACK
endif # CGROUPS
+config SCHED_HMP
+ bool "Scheduler support for heterogenous multi-processor systems"
+ depends on SMP && FAIR_GROUP_SCHED
+ help
+ This feature will let the scheduler optimize task placement on
+ systems made of heterogeneous cpus i.e cpus that differ either
+ in their instructions per-cycle capability or the maximum
+ frequency they can attain.
+
config CHECKPOINT_RESTORE
bool "Checkpoint/restore support" if EXPERT
select PROC_CHILDREN