diff mbox

[RFC,v5,11/14] sched: add a SCHED_PACKING_TASKS config

Message ID 1382097147-30088-11-git-send-email-vincent.guittot@linaro.org
State New
Headers show

Commit Message

Vincent Guittot Oct. 18, 2013, 11:52 a.m. UTC
The SCHED_PACKING_TASKS config is used to enable the packing tasks mecanism

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
---
 init/Kconfig |   11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox

Patch

diff --git a/init/Kconfig b/init/Kconfig
index 3ecd8a1..4d2b5db 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1178,6 +1178,17 @@  config SCHED_AUTOGROUP
 	  desktop applications.  Task group autogeneration is currently based
 	  upon task session.
 
+config SCHED_PACKING_TASKS
+	bool "Automatic tasks packing"
+	depends on SMP && SCHED_MC
+	default n
+	help
+	  This option enable the packing mode of the scheduler.
+	  This mode ensures that the minimal number of CPUs will
+	  be used to handle the activty of the system. The CPUs
+	  are selected to minimized the number of power domain
+	  that must be kept on
+
 config MM_OWNER
 	bool