aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig143
1 files changed, 78 insertions, 65 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 313506d8be6e..5cff9a980c39 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -404,6 +404,22 @@ config RCU_FANOUT_EXACT
404 404
405 Say N if unsure. 405 Say N if unsure.
406 406
407config RCU_FAST_NO_HZ
408 bool "Accelerate last non-dyntick-idle CPU's grace periods"
409 depends on TREE_RCU && NO_HZ && SMP
410 default n
411 help
412 This option causes RCU to attempt to accelerate grace periods
413 in order to allow the final CPU to enter dynticks-idle state
414 more quickly. On the other hand, this option increases the
415 overhead of the dynticks-idle checking, particularly on systems
416 with large numbers of CPUs.
417
418 Say Y if energy efficiency is critically important, particularly
419 if you have relatively few CPUs.
420
421 Say N if you are unsure.
422
407config TREE_RCU_TRACE 423config TREE_RCU_TRACE
408 def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU ) 424 def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU )
409 select DEBUG_FS 425 select DEBUG_FS
@@ -453,59 +469,9 @@ config LOG_BUF_SHIFT
453config HAVE_UNSTABLE_SCHED_CLOCK 469config HAVE_UNSTABLE_SCHED_CLOCK
454 bool 470 bool
455 471
456config GROUP_SCHED
457 bool "Group CPU scheduler"
458 depends on EXPERIMENTAL
459 default n
460 help
461 This feature lets CPU scheduler recognize task groups and control CPU
462 bandwidth allocation to such task groups.
463 In order to create a group from arbitrary set of processes, use
464 CONFIG_CGROUPS. (See Control Group support.)
465
466config FAIR_GROUP_SCHED
467 bool "Group scheduling for SCHED_OTHER"
468 depends on GROUP_SCHED
469 default GROUP_SCHED
470
471config RT_GROUP_SCHED
472 bool "Group scheduling for SCHED_RR/FIFO"
473 depends on EXPERIMENTAL
474 depends on GROUP_SCHED
475 default n
476 help
477 This feature lets you explicitly allocate real CPU bandwidth
478 to users or control groups (depending on the "Basis for grouping tasks"
479 setting below. If enabled, it will also make it impossible to
480 schedule realtime tasks for non-root users until you allocate
481 realtime bandwidth for them.
482 See Documentation/scheduler/sched-rt-group.txt for more information.
483
484choice
485 depends on GROUP_SCHED
486 prompt "Basis for grouping tasks"
487 default USER_SCHED
488
489config USER_SCHED
490 bool "user id"
491 help
492 This option will choose userid as the basis for grouping
493 tasks, thus providing equal CPU bandwidth to each user.
494
495config CGROUP_SCHED
496 bool "Control groups"
497 depends on CGROUPS
498 help
499 This option allows you to create arbitrary task groups
500 using the "cgroup" pseudo filesystem and control
501 the cpu bandwidth allocated to each such task group.
502 Refer to Documentation/cgroups/cgroups.txt for more
503 information on "cgroup" pseudo filesystem.
504
505endchoice
506
507menuconfig CGROUPS 472menuconfig CGROUPS
508 boolean "Control Group support" 473 boolean "Control Group support"
474 depends on EVENTFD
509 help 475 help
510 This option adds support for grouping sets of processes together, for 476 This option adds support for grouping sets of processes together, for
511 use with process control subsystems such as Cpusets, CFS, memory 477 use with process control subsystems such as Cpusets, CFS, memory
@@ -624,6 +590,62 @@ config CGROUP_MEM_RES_CTLR_SWAP
624 Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page 590 Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
625 size is 4096bytes, 512k per 1Gbytes of swap. 591 size is 4096bytes, 512k per 1Gbytes of swap.
626 592
593menuconfig CGROUP_SCHED
594 bool "Group CPU scheduler"
595 depends on EXPERIMENTAL && CGROUPS
596 default n
597 help
598 This feature lets CPU scheduler recognize task groups and control CPU
599 bandwidth allocation to such task groups. It uses cgroups to group
600 tasks.
601
602if CGROUP_SCHED
603config FAIR_GROUP_SCHED
604 bool "Group scheduling for SCHED_OTHER"
605 depends on CGROUP_SCHED
606 default CGROUP_SCHED
607
608config RT_GROUP_SCHED
609 bool "Group scheduling for SCHED_RR/FIFO"
610 depends on EXPERIMENTAL
611 depends on CGROUP_SCHED
612 default n
613 help
614 This feature lets you explicitly allocate real CPU bandwidth
615 to task groups. If enabled, it will also make it impossible to
616 schedule realtime tasks for non-root users until you allocate
617 realtime bandwidth for them.
618 See Documentation/scheduler/sched-rt-group.txt for more information.
619
620endif #CGROUP_SCHED
621
622config BLK_CGROUP
623 tristate "Block IO controller"
624 depends on CGROUPS && BLOCK
625 default n
626 ---help---
627 Generic block IO controller cgroup interface. This is the common
628 cgroup interface which should be used by various IO controlling
629 policies.
630
631 Currently, CFQ IO scheduler uses it to recognize task groups and
632 control disk bandwidth allocation (proportional time slice allocation)
633 to such task groups.
634
635 This option only enables generic Block IO controller infrastructure.
636 One needs to also enable actual IO controlling logic in CFQ for it
637 to take effect. (CONFIG_CFQ_GROUP_IOSCHED=y).
638
639 See Documentation/cgroups/blkio-controller.txt for more information.
640
641config DEBUG_BLK_CGROUP
642 bool "Enable Block IO controller debugging"
643 depends on BLK_CGROUP
644 default n
645 ---help---
646 Enable some debugging help. Currently it exports additional stat
647 files in a cgroup which can be useful for debugging.
648
627endif # CGROUPS 649endif # CGROUPS
628 650
629config MM_OWNER 651config MM_OWNER
@@ -984,19 +1006,6 @@ config PERF_EVENTS
984 1006
985 Say Y if unsure. 1007 Say Y if unsure.
986 1008
987config EVENT_PROFILE
988 bool "Tracepoint profiling sources"
989 depends on PERF_EVENTS && EVENT_TRACING
990 default y
991 help
992 Allow the use of tracepoints as software performance events.
993
994 When this is enabled, you can create perf events based on
995 tracepoints using PERF_TYPE_TRACEPOINT and the tracepoint ID
996 found in debugfs://tracing/events/*/*/id. (The -e/--events
997 option to the perf tool can parse and interpret symbolic
998 tracepoints, in the subsystem:tracepoint_name format.)
999
1000config PERF_COUNTERS 1009config PERF_COUNTERS
1001 bool "Kernel performance counters (old config option)" 1010 bool "Kernel performance counters (old config option)"
1002 depends on HAVE_PERF_EVENTS 1011 depends on HAVE_PERF_EVENTS
@@ -1120,7 +1129,7 @@ config MMAP_ALLOW_UNINITIALIZED
1120 See Documentation/nommu-mmap.txt for more information. 1129 See Documentation/nommu-mmap.txt for more information.
1121 1130
1122config PROFILING 1131config PROFILING
1123 bool "Profiling support (EXPERIMENTAL)" 1132 bool "Profiling support"
1124 help 1133 help
1125 Say Y here to enable the extended profiling support mechanisms used 1134 Say Y here to enable the extended profiling support mechanisms used
1126 by profilers such as OProfile. 1135 by profilers such as OProfile.
@@ -1270,4 +1279,8 @@ source "block/Kconfig"
1270config PREEMPT_NOTIFIERS 1279config PREEMPT_NOTIFIERS
1271 bool 1280 bool
1272 1281
1282config PADATA
1283 depends on SMP
1284 bool
1285
1273source "kernel/Kconfig.locks" 1286source "kernel/Kconfig.locks"