sched/core_ctl: rotate CPU isolation set every suspend/resume
In order to utilize CPUs in the system evenly. Rotate set of CPUs for
isolation every time when system resumes from suspend.
To enable this feature optionally, introduce CONFIG_SCHED_CORE_ROTATE.
Change-Id: I761742c01dcc964348c09e492f1cd34965adce48
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
diff --git a/init/Kconfig b/init/Kconfig
index af000c7..9782dfc 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1293,6 +1293,16 @@
If unsure, say N here.
+config SCHED_CORE_ROTATE
+ bool "Scheduler core rotation"
+ depends on SMP
+ help
+ This options enables the core rotation functionality in
+ the scheduler. Scheduler with core rotation aims to utilize
+ CPUs evenly.
+
+ If unsure, say N here.
+
config CHECKPOINT_RESTORE
bool "Checkpoint/restore support" if EXPERT
select PROC_CHILDREN