diff options
author | Daniel Lezcano <daniel.lezcano@free.fr> | 2010-10-27 18:34:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:03:17 -0400 |
commit | 7af37bec41b19fcb9de2b42f355a39149641170e (patch) | |
tree | 07ad466f3c8ace93201e573a31cada0d6c08b70d /init/Kconfig | |
parent | eef691b36e9a6ee6e646c83af3f10bb60e926fa5 (diff) |
namespaces Kconfig: move namespace menu location after the cgroup
We have the namespaces as a menuconfig like the cgroup. The cgroup and
the namespace are two base bricks for the containers.
It is more logical to put the namespace menu right after the cgroup menu.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: "Serge E. Hallyn" <serue@us.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/init/Kconfig b/init/Kconfig index 813e07604f89..88c10468db46 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -675,58 +675,6 @@ config DEBUG_BLK_CGROUP | |||
675 | 675 | ||
676 | endif # CGROUPS | 676 | endif # CGROUPS |
677 | 677 | ||
678 | config MM_OWNER | ||
679 | bool | ||
680 | |||
681 | config SYSFS_DEPRECATED | ||
682 | bool "enable deprecated sysfs features to support old userspace tools" | ||
683 | depends on SYSFS | ||
684 | default n | ||
685 | help | ||
686 | This option adds code that switches the layout of the "block" class | ||
687 | devices, to not show up in /sys/class/block/, but only in | ||
688 | /sys/block/. | ||
689 | |||
690 | This switch is only active when the sysfs.deprecated=1 boot option is | ||
691 | passed or the SYSFS_DEPRECATED_V2 option is set. | ||
692 | |||
693 | This option allows new kernels to run on old distributions and tools, | ||
694 | which might get confused by /sys/class/block/. Since 2007/2008 all | ||
695 | major distributions and tools handle this just fine. | ||
696 | |||
697 | Recent distributions and userspace tools after 2009/2010 depend on | ||
698 | the existence of /sys/class/block/, and will not work with this | ||
699 | option enabled. | ||
700 | |||
701 | Only if you are using a new kernel on an old distribution, you might | ||
702 | need to say Y here. | ||
703 | |||
704 | config SYSFS_DEPRECATED_V2 | ||
705 | bool "enabled deprecated sysfs features by default" | ||
706 | default n | ||
707 | depends on SYSFS | ||
708 | depends on SYSFS_DEPRECATED | ||
709 | help | ||
710 | Enable deprecated sysfs by default. | ||
711 | |||
712 | See the CONFIG_SYSFS_DEPRECATED option for more details about this | ||
713 | option. | ||
714 | |||
715 | Only if you are using a new kernel on an old distribution, you might | ||
716 | need to say Y here. Even then, odds are you would not need it | ||
717 | enabled, you can always pass the boot option if absolutely necessary. | ||
718 | |||
719 | config RELAY | ||
720 | bool "Kernel->user space relay support (formerly relayfs)" | ||
721 | help | ||
722 | This option enables support for relay interface support in | ||
723 | certain file systems (such as debugfs). | ||
724 | It is designed to provide an efficient mechanism for tools and | ||
725 | facilities to relay large amounts of data from kernel space to | ||
726 | user space. | ||
727 | |||
728 | If unsure, say N. | ||
729 | |||
730 | menuconfig NAMESPACES | 678 | menuconfig NAMESPACES |
731 | bool "Namespaces support" if EMBEDDED | 679 | bool "Namespaces support" if EMBEDDED |
732 | default !EMBEDDED | 680 | default !EMBEDDED |
@@ -780,6 +728,58 @@ config NET_NS | |||
780 | 728 | ||
781 | endif # NAMESPACES | 729 | endif # NAMESPACES |
782 | 730 | ||
731 | config MM_OWNER | ||
732 | bool | ||
733 | |||
734 | config SYSFS_DEPRECATED | ||
735 | bool "enable deprecated sysfs features to support old userspace tools" | ||
736 | depends on SYSFS | ||
737 | default n | ||
738 | help | ||
739 | This option adds code that switches the layout of the "block" class | ||
740 | devices, to not show up in /sys/class/block/, but only in | ||
741 | /sys/block/. | ||
742 | |||
743 | This switch is only active when the sysfs.deprecated=1 boot option is | ||
744 | passed or the SYSFS_DEPRECATED_V2 option is set. | ||
745 | |||
746 | This option allows new kernels to run on old distributions and tools, | ||
747 | which might get confused by /sys/class/block/. Since 2007/2008 all | ||
748 | major distributions and tools handle this just fine. | ||
749 | |||
750 | Recent distributions and userspace tools after 2009/2010 depend on | ||
751 | the existence of /sys/class/block/, and will not work with this | ||
752 | option enabled. | ||
753 | |||
754 | Only if you are using a new kernel on an old distribution, you might | ||
755 | need to say Y here. | ||
756 | |||
757 | config SYSFS_DEPRECATED_V2 | ||
758 | bool "enabled deprecated sysfs features by default" | ||
759 | default n | ||
760 | depends on SYSFS | ||
761 | depends on SYSFS_DEPRECATED | ||
762 | help | ||
763 | Enable deprecated sysfs by default. | ||
764 | |||
765 | See the CONFIG_SYSFS_DEPRECATED option for more details about this | ||
766 | option. | ||
767 | |||
768 | Only if you are using a new kernel on an old distribution, you might | ||
769 | need to say Y here. Even then, odds are you would not need it | ||
770 | enabled, you can always pass the boot option if absolutely necessary. | ||
771 | |||
772 | config RELAY | ||
773 | bool "Kernel->user space relay support (formerly relayfs)" | ||
774 | help | ||
775 | This option enables support for relay interface support in | ||
776 | certain file systems (such as debugfs). | ||
777 | It is designed to provide an efficient mechanism for tools and | ||
778 | facilities to relay large amounts of data from kernel space to | ||
779 | user space. | ||
780 | |||
781 | If unsure, say N. | ||
782 | |||
783 | config BLK_DEV_INITRD | 783 | config BLK_DEV_INITRD |
784 | bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support" | 784 | bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support" |
785 | depends on BROKEN || !FRV | 785 | depends on BROKEN || !FRV |