浏览代码

sched: default to n for GROUP_SCHED and FAIR_GROUP_SCHED

GROUP_SCHED is confirmed to cause unacceptable latencies, see:

   http://lkml.org/lkml/2008/5/2/370.

Mark it EXPERIMENTAL and default to no for now.

Signed-off-by: Parag Warudkar <parag.warudkar@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Parag Warudkar 17 年之前
父节点
当前提交
aac6abca85
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      init/Kconfig

+ 3 - 2
init/Kconfig

@@ -324,7 +324,8 @@ config HAVE_UNSTABLE_SCHED_CLOCK
 
 
 config GROUP_SCHED
 config GROUP_SCHED
 	bool "Group CPU scheduler"
 	bool "Group CPU scheduler"
-	default y
+	depends on EXPERIMENTAL
+	default n
 	help
 	help
 	  This feature lets CPU scheduler recognize task groups and control CPU
 	  This feature lets CPU scheduler recognize task groups and control CPU
 	  bandwidth allocation to such task groups.
 	  bandwidth allocation to such task groups.
@@ -332,7 +333,7 @@ config GROUP_SCHED
 config FAIR_GROUP_SCHED
 config FAIR_GROUP_SCHED
 	bool "Group scheduling for SCHED_OTHER"
 	bool "Group scheduling for SCHED_OTHER"
 	depends on GROUP_SCHED
 	depends on GROUP_SCHED
-	default y
+	default GROUP_SCHED
 
 
 config RT_GROUP_SCHED
 config RT_GROUP_SCHED
 	bool "Group scheduling for SCHED_RR/FIFO"
 	bool "Group scheduling for SCHED_RR/FIFO"