diff options
author | Dhaval Giani <dhaval.giani@gmail.com> | 2010-01-20 07:26:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-21 07:40:18 -0500 |
commit | 7c9414385ebfdd87cc542d4e7e3bb0dbb2d3ce25 (patch) | |
tree | beb51d7d0d543d72e2754cff807df5c399f2d376 /init | |
parent | 871e35bc9733f273eaf5ceb69bbd0423b58e5285 (diff) |
sched: Remove USER_SCHED
Remove the USER_SCHED feature. It has been scheduled to be removed in
2.6.34 as per http://marc.info/?l=linux-kernel&m=125728479022976&w=2
Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1263990378.24844.3.camel@localhost>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 81 |
1 files changed, 30 insertions, 51 deletions
diff --git a/init/Kconfig b/init/Kconfig index a23da9f01803..e9fa3007a6fc 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -435,57 +435,6 @@ config LOG_BUF_SHIFT | |||
435 | config HAVE_UNSTABLE_SCHED_CLOCK | 435 | config HAVE_UNSTABLE_SCHED_CLOCK |
436 | bool | 436 | bool |
437 | 437 | ||
438 | config GROUP_SCHED | ||
439 | bool "Group CPU scheduler" | ||
440 | depends on EXPERIMENTAL | ||
441 | default n | ||
442 | help | ||
443 | This feature lets CPU scheduler recognize task groups and control CPU | ||
444 | bandwidth allocation to such task groups. | ||
445 | In order to create a group from arbitrary set of processes, use | ||
446 | CONFIG_CGROUPS. (See Control Group support.) | ||
447 | |||
448 | config FAIR_GROUP_SCHED | ||
449 | bool "Group scheduling for SCHED_OTHER" | ||
450 | depends on GROUP_SCHED | ||
451 | default GROUP_SCHED | ||
452 | |||
453 | config RT_GROUP_SCHED | ||
454 | bool "Group scheduling for SCHED_RR/FIFO" | ||
455 | depends on EXPERIMENTAL | ||
456 | depends on GROUP_SCHED | ||
457 | default n | ||
458 | help | ||
459 | This feature lets you explicitly allocate real CPU bandwidth | ||
460 | to users or control groups (depending on the "Basis for grouping tasks" | ||
461 | setting below. If enabled, it will also make it impossible to | ||
462 | schedule realtime tasks for non-root users until you allocate | ||
463 | realtime bandwidth for them. | ||
464 | See Documentation/scheduler/sched-rt-group.txt for more information. | ||
465 | |||
466 | choice | ||
467 | depends on GROUP_SCHED | ||
468 | prompt "Basis for grouping tasks" | ||
469 | default USER_SCHED | ||
470 | |||
471 | config USER_SCHED | ||
472 | bool "user id" | ||
473 | help | ||
474 | This option will choose userid as the basis for grouping | ||
475 | tasks, thus providing equal CPU bandwidth to each user. | ||
476 | |||
477 | config CGROUP_SCHED | ||
478 | bool "Control groups" | ||
479 | depends on CGROUPS | ||
480 | help | ||
481 | This option allows you to create arbitrary task groups | ||
482 | using the "cgroup" pseudo filesystem and control | ||
483 | the cpu bandwidth allocated to each such task group. | ||
484 | Refer to Documentation/cgroups/cgroups.txt for more | ||
485 | information on "cgroup" pseudo filesystem. | ||
486 | |||
487 | endchoice | ||
488 | |||
489 | menuconfig CGROUPS | 438 | menuconfig CGROUPS |
490 | boolean "Control Group support" | 439 | boolean "Control Group support" |
491 | help | 440 | help |
@@ -606,6 +555,36 @@ config CGROUP_MEM_RES_CTLR_SWAP | |||
606 | Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page | 555 | Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page |
607 | size is 4096bytes, 512k per 1Gbytes of swap. | 556 | size is 4096bytes, 512k per 1Gbytes of swap. |
608 | 557 | ||
558 | menuconfig CGROUP_SCHED | ||
559 | bool "Group CPU scheduler" | ||
560 | depends on EXPERIMENTAL && CGROUPS | ||
561 | default n | ||
562 | help | ||
563 | This feature lets CPU scheduler recognize task groups and control CPU | ||
564 | bandwidth allocation to such task groups. It uses cgroups to group | ||
565 | tasks. | ||
566 | |||
567 | if CGROUP_SCHED | ||
568 | config FAIR_GROUP_SCHED | ||
569 | bool "Group scheduling for SCHED_OTHER" | ||
570 | depends on CGROUP_SCHED | ||
571 | default CGROUP_SCHED | ||
572 | |||
573 | config RT_GROUP_SCHED | ||
574 | bool "Group scheduling for SCHED_RR/FIFO" | ||
575 | depends on EXPERIMENTAL | ||
576 | depends on CGROUP_SCHED | ||
577 | default n | ||
578 | help | ||
579 | This feature lets you explicitly allocate real CPU bandwidth | ||
580 | to users or control groups (depending on the "Basis for grouping tasks" | ||
581 | setting below. If enabled, it will also make it impossible to | ||
582 | schedule realtime tasks for non-root users until you allocate | ||
583 | realtime bandwidth for them. | ||
584 | See Documentation/scheduler/sched-rt-group.txt for more information. | ||
585 | |||
586 | endif #CGROUP_SCHED | ||
587 | |||
609 | endif # CGROUPS | 588 | endif # CGROUPS |
610 | 589 | ||
611 | config MM_OWNER | 590 | config MM_OWNER |