aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig21
-rw-r--r--init/calibrate.c2
2 files changed, 22 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index d54d0cadcc06..54f31a191b88 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -281,6 +281,27 @@ config CPUSETS
281 281
282 Say N if unsure. 282 Say N if unsure.
283 283
284config FAIR_GROUP_SCHED
285 bool "Fair group CPU scheduler"
286 default y
287 depends on EXPERIMENTAL
288 help
289 This feature lets CPU scheduler recognize task groups and control CPU
290 bandwidth allocation to such task groups.
291
292choice
293 depends on FAIR_GROUP_SCHED
294 prompt "Basis for grouping tasks"
295 default FAIR_USER_SCHED
296
297config FAIR_USER_SCHED
298 bool "user id"
299 help
300 This option will choose userid as the basis for grouping
301 tasks, thus providing equal CPU bandwidth to each user.
302
303endchoice
304
284config SYSFS_DEPRECATED 305config SYSFS_DEPRECATED
285 bool "Create deprecated sysfs files" 306 bool "Create deprecated sysfs files"
286 default y 307 default y
diff --git a/init/calibrate.c b/init/calibrate.c
index 40ff3b404895..2d3d73bd4ce1 100644
--- a/init/calibrate.c
+++ b/init/calibrate.c
@@ -10,7 +10,7 @@
10 10
11#include <asm/timex.h> 11#include <asm/timex.h>
12 12
13static unsigned long preset_lpj; 13unsigned long preset_lpj;
14static int __init lpj_setup(char *str) 14static int __init lpj_setup(char *str)
15{ 15{
16 preset_lpj = simple_strtoul(str,NULL,0); 16 preset_lpj = simple_strtoul(str,NULL,0);