From 551f83f5d66fc9dd6b0edf5129c03f00ac1b81ec Mon Sep 17 00:00:00 2001 From: Srivatsa Vaddagiri Date: Wed, 11 Jun 2014 23:26:09 -0700 Subject: 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 [rameezmustafa@codeaurora.org]: Port to msm-3.18] Signed-off-by: Syed Rameez Mustafa [joonwoop@codeaurora.org: fixed minor ifdefry conflict.] Signed-off-by: Joonwoo Park --- init/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'init/Kconfig') 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 -- cgit v1.2.3