diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 117 |
1 files changed, 56 insertions, 61 deletions
diff --git a/init/Kconfig b/init/Kconfig index 3ae8ffe738eb..88c10468db46 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -518,7 +518,6 @@ if CGROUPS | |||
518 | 518 | ||
519 | config CGROUP_DEBUG | 519 | config CGROUP_DEBUG |
520 | bool "Example debug cgroup subsystem" | 520 | bool "Example debug cgroup subsystem" |
521 | depends on CGROUPS | ||
522 | default n | 521 | default n |
523 | help | 522 | help |
524 | This option enables a simple cgroup subsystem that | 523 | This option enables a simple cgroup subsystem that |
@@ -529,7 +528,6 @@ config CGROUP_DEBUG | |||
529 | 528 | ||
530 | config CGROUP_NS | 529 | config CGROUP_NS |
531 | bool "Namespace cgroup subsystem" | 530 | bool "Namespace cgroup subsystem" |
532 | depends on CGROUPS | ||
533 | help | 531 | help |
534 | Provides a simple namespace cgroup subsystem to | 532 | Provides a simple namespace cgroup subsystem to |
535 | provide hierarchical naming of sets of namespaces, | 533 | provide hierarchical naming of sets of namespaces, |
@@ -538,21 +536,18 @@ config CGROUP_NS | |||
538 | 536 | ||
539 | config CGROUP_FREEZER | 537 | config CGROUP_FREEZER |
540 | bool "Freezer cgroup subsystem" | 538 | bool "Freezer cgroup subsystem" |
541 | depends on CGROUPS | ||
542 | help | 539 | help |
543 | Provides a way to freeze and unfreeze all tasks in a | 540 | Provides a way to freeze and unfreeze all tasks in a |
544 | cgroup. | 541 | cgroup. |
545 | 542 | ||
546 | config CGROUP_DEVICE | 543 | config CGROUP_DEVICE |
547 | bool "Device controller for cgroups" | 544 | bool "Device controller for cgroups" |
548 | depends on CGROUPS && EXPERIMENTAL | ||
549 | help | 545 | help |
550 | Provides a cgroup implementing whitelists for devices which | 546 | Provides a cgroup implementing whitelists for devices which |
551 | a process in the cgroup can mknod or open. | 547 | a process in the cgroup can mknod or open. |
552 | 548 | ||
553 | config CPUSETS | 549 | config CPUSETS |
554 | bool "Cpuset support" | 550 | bool "Cpuset support" |
555 | depends on CGROUPS | ||
556 | help | 551 | help |
557 | This option will let you create and manage CPUSETs which | 552 | This option will let you create and manage CPUSETs which |
558 | allow dynamically partitioning a system into sets of CPUs and | 553 | allow dynamically partitioning a system into sets of CPUs and |
@@ -568,7 +563,6 @@ config PROC_PID_CPUSET | |||
568 | 563 | ||
569 | config CGROUP_CPUACCT | 564 | config CGROUP_CPUACCT |
570 | bool "Simple CPU accounting cgroup subsystem" | 565 | bool "Simple CPU accounting cgroup subsystem" |
571 | depends on CGROUPS | ||
572 | help | 566 | help |
573 | Provides a simple Resource Controller for monitoring the | 567 | Provides a simple Resource Controller for monitoring the |
574 | total CPU consumed by the tasks in a cgroup. | 568 | total CPU consumed by the tasks in a cgroup. |
@@ -578,11 +572,10 @@ config RESOURCE_COUNTERS | |||
578 | help | 572 | help |
579 | This option enables controller independent resource accounting | 573 | This option enables controller independent resource accounting |
580 | infrastructure that works with cgroups. | 574 | infrastructure that works with cgroups. |
581 | depends on CGROUPS | ||
582 | 575 | ||
583 | config CGROUP_MEM_RES_CTLR | 576 | config CGROUP_MEM_RES_CTLR |
584 | bool "Memory Resource Controller for Control Groups" | 577 | bool "Memory Resource Controller for Control Groups" |
585 | depends on CGROUPS && RESOURCE_COUNTERS | 578 | depends on RESOURCE_COUNTERS |
586 | select MM_OWNER | 579 | select MM_OWNER |
587 | help | 580 | help |
588 | Provides a memory resource controller that manages both anonymous | 581 | Provides a memory resource controller that manages both anonymous |
@@ -623,7 +616,7 @@ config CGROUP_MEM_RES_CTLR_SWAP | |||
623 | 616 | ||
624 | menuconfig CGROUP_SCHED | 617 | menuconfig CGROUP_SCHED |
625 | bool "Group CPU scheduler" | 618 | bool "Group CPU scheduler" |
626 | depends on EXPERIMENTAL && CGROUPS | 619 | depends on EXPERIMENTAL |
627 | default n | 620 | default n |
628 | help | 621 | help |
629 | This feature lets CPU scheduler recognize task groups and control CPU | 622 | This feature lets CPU scheduler recognize task groups and control CPU |
@@ -652,7 +645,7 @@ endif #CGROUP_SCHED | |||
652 | 645 | ||
653 | config BLK_CGROUP | 646 | config BLK_CGROUP |
654 | tristate "Block IO controller" | 647 | tristate "Block IO controller" |
655 | depends on CGROUPS && BLOCK | 648 | depends on BLOCK |
656 | default n | 649 | default n |
657 | ---help--- | 650 | ---help--- |
658 | Generic block IO controller cgroup interface. This is the common | 651 | Generic block IO controller cgroup interface. This is the common |
@@ -682,6 +675,59 @@ config DEBUG_BLK_CGROUP | |||
682 | 675 | ||
683 | endif # CGROUPS | 676 | endif # CGROUPS |
684 | 677 | ||
678 | menuconfig NAMESPACES | ||
679 | bool "Namespaces support" if EMBEDDED | ||
680 | default !EMBEDDED | ||
681 | help | ||
682 | Provides the way to make tasks work with different objects using | ||
683 | the same id. For example same IPC id may refer to different objects | ||
684 | or same user id or pid may refer to different tasks when used in | ||
685 | different namespaces. | ||
686 | |||
687 | if NAMESPACES | ||
688 | |||
689 | config UTS_NS | ||
690 | bool "UTS namespace" | ||
691 | default y | ||
692 | help | ||
693 | In this namespace tasks see different info provided with the | ||
694 | uname() system call | ||
695 | |||
696 | config IPC_NS | ||
697 | bool "IPC namespace" | ||
698 | depends on (SYSVIPC || POSIX_MQUEUE) | ||
699 | default y | ||
700 | help | ||
701 | In this namespace tasks work with IPC ids which correspond to | ||
702 | different IPC objects in different namespaces. | ||
703 | |||
704 | config USER_NS | ||
705 | bool "User namespace (EXPERIMENTAL)" | ||
706 | depends on EXPERIMENTAL | ||
707 | default y | ||
708 | help | ||
709 | This allows containers, i.e. vservers, to use user namespaces | ||
710 | to provide different user info for different servers. | ||
711 | If unsure, say N. | ||
712 | |||
713 | config PID_NS | ||
714 | bool "PID Namespaces" | ||
715 | default y | ||
716 | help | ||
717 | Support process id namespaces. This allows having multiple | ||
718 | processes with the same pid as long as they are in different | ||
719 | pid namespaces. This is a building block of containers. | ||
720 | |||
721 | config NET_NS | ||
722 | bool "Network namespace" | ||
723 | depends on NET | ||
724 | default y | ||
725 | help | ||
726 | Allow user space to create what appear to be multiple instances | ||
727 | of the network stack. | ||
728 | |||
729 | endif # NAMESPACES | ||
730 | |||
685 | config MM_OWNER | 731 | config MM_OWNER |
686 | bool | 732 | bool |
687 | 733 | ||
@@ -734,57 +780,6 @@ config RELAY | |||
734 | 780 | ||
735 | If unsure, say N. | 781 | If unsure, say N. |
736 | 782 | ||
737 | config NAMESPACES | ||
738 | bool "Namespaces support" if EMBEDDED | ||
739 | default !EMBEDDED | ||
740 | help | ||
741 | Provides the way to make tasks work with different objects using | ||
742 | the same id. For example same IPC id may refer to different objects | ||
743 | or same user id or pid may refer to different tasks when used in | ||
744 | different namespaces. | ||
745 | |||
746 | config UTS_NS | ||
747 | bool "UTS namespace" | ||
748 | depends on NAMESPACES | ||
749 | help | ||
750 | In this namespace tasks see different info provided with the | ||
751 | uname() system call | ||
752 | |||
753 | config IPC_NS | ||
754 | bool "IPC namespace" | ||
755 | depends on NAMESPACES && (SYSVIPC || POSIX_MQUEUE) | ||
756 | help | ||
757 | In this namespace tasks work with IPC ids which correspond to | ||
758 | different IPC objects in different namespaces. | ||
759 | |||
760 | config USER_NS | ||
761 | bool "User namespace (EXPERIMENTAL)" | ||
762 | depends on NAMESPACES && EXPERIMENTAL | ||
763 | help | ||
764 | This allows containers, i.e. vservers, to use user namespaces | ||
765 | to provide different user info for different servers. | ||
766 | If unsure, say N. | ||
767 | |||
768 | config PID_NS | ||
769 | bool "PID Namespaces (EXPERIMENTAL)" | ||
770 | default n | ||
771 | depends on NAMESPACES && EXPERIMENTAL | ||
772 | help | ||
773 | Support process id namespaces. This allows having multiple | ||
774 | processes with the same pid as long as they are in different | ||
775 | pid namespaces. This is a building block of containers. | ||
776 | |||
777 | Unless you want to work with an experimental feature | ||
778 | say N here. | ||
779 | |||
780 | config NET_NS | ||
781 | bool "Network namespace" | ||
782 | default n | ||
783 | depends on NAMESPACES && EXPERIMENTAL && NET | ||
784 | help | ||
785 | Allow user space to create what appear to be multiple instances | ||
786 | of the network stack. | ||
787 | |||
788 | config BLK_DEV_INITRD | 783 | config BLK_DEV_INITRD |
789 | bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support" | 784 | bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support" |
790 | depends on BROKEN || !FRV | 785 | depends on BROKEN || !FRV |