diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 21 | ||||
-rw-r--r-- | init/calibrate.c | 2 |
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 | ||
284 | config 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 | |||
292 | choice | ||
293 | depends on FAIR_GROUP_SCHED | ||
294 | prompt "Basis for grouping tasks" | ||
295 | default FAIR_USER_SCHED | ||
296 | |||
297 | config 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 | |||
303 | endchoice | ||
304 | |||
284 | config SYSFS_DEPRECATED | 305 | config 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 | ||
13 | static unsigned long preset_lpj; | 13 | unsigned long preset_lpj; |
14 | static int __init lpj_setup(char *str) | 14 | static int __init lpj_setup(char *str) |
15 | { | 15 | { |
16 | preset_lpj = simple_strtoul(str,NULL,0); | 16 | preset_lpj = simple_strtoul(str,NULL,0); |