diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/init/Kconfig b/init/Kconfig index 4d55e81deff0..18bd9e3d3274 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -470,6 +470,7 @@ config TREE_RCU | |||
470 | config TREE_PREEMPT_RCU | 470 | config TREE_PREEMPT_RCU |
471 | bool "Preemptible tree-based hierarchical RCU" | 471 | bool "Preemptible tree-based hierarchical RCU" |
472 | depends on PREEMPT | 472 | depends on PREEMPT |
473 | select IRQ_WORK | ||
473 | help | 474 | help |
474 | This option selects the RCU implementation that is | 475 | This option selects the RCU implementation that is |
475 | designed for very large SMP systems with hundreds or | 476 | designed for very large SMP systems with hundreds or |
@@ -527,13 +528,29 @@ config RCU_USER_QS | |||
527 | config CONTEXT_TRACKING_FORCE | 528 | config CONTEXT_TRACKING_FORCE |
528 | bool "Force context tracking" | 529 | bool "Force context tracking" |
529 | depends on CONTEXT_TRACKING | 530 | depends on CONTEXT_TRACKING |
530 | default CONTEXT_TRACKING | 531 | default y if !NO_HZ_FULL |
531 | help | 532 | help |
532 | Probe on user/kernel boundaries by default in order to | 533 | The major pre-requirement for full dynticks to work is to |
533 | test the features that rely on it such as userspace RCU extended | 534 | support the context tracking subsystem. But there are also |
534 | quiescent states. | 535 | other dependencies to provide in order to make the full |
535 | This test is there for debugging until we have a real user like the | 536 | dynticks working. |
536 | full dynticks mode. | 537 | |
538 | This option stands for testing when an arch implements the | ||
539 | context tracking backend but doesn't yet fullfill all the | ||
540 | requirements to make the full dynticks feature working. | ||
541 | Without the full dynticks, there is no way to test the support | ||
542 | for context tracking and the subsystems that rely on it: RCU | ||
543 | userspace extended quiescent state and tickless cputime | ||
544 | accounting. This option copes with the absence of the full | ||
545 | dynticks subsystem by forcing the context tracking on all | ||
546 | CPUs in the system. | ||
547 | |||
548 | Say Y only if you're working on the developpement of an | ||
549 | architecture backend for the context tracking. | ||
550 | |||
551 | Say N otherwise, this option brings an overhead that you | ||
552 | don't want in production. | ||
553 | |||
537 | 554 | ||
538 | config RCU_FANOUT | 555 | config RCU_FANOUT |
539 | int "Tree-based hierarchical RCU fanout value" | 556 | int "Tree-based hierarchical RCU fanout value" |
@@ -955,7 +972,7 @@ config MEMCG_SWAP_ENABLED | |||
955 | Memory Resource Controller Swap Extension comes with its price in | 972 | Memory Resource Controller Swap Extension comes with its price in |
956 | a bigger memory consumption. General purpose distribution kernels | 973 | a bigger memory consumption. General purpose distribution kernels |
957 | which want to enable the feature but keep it disabled by default | 974 | which want to enable the feature but keep it disabled by default |
958 | and let the user enable it by swapaccount boot command line | 975 | and let the user enable it by swapaccount=1 boot command line |
959 | parameter should have this option unselected. | 976 | parameter should have this option unselected. |
960 | For those who want to have the feature enabled by default should | 977 | For those who want to have the feature enabled by default should |
961 | select this option (if, for some reason, they need to disable it | 978 | select this option (if, for some reason, they need to disable it |
@@ -1106,7 +1123,6 @@ config IPC_NS | |||
1106 | 1123 | ||
1107 | config USER_NS | 1124 | config USER_NS |
1108 | bool "User namespace" | 1125 | bool "User namespace" |
1109 | depends on UIDGID_CONVERTED | ||
1110 | select UIDGID_STRICT_TYPE_CHECKS | 1126 | select UIDGID_STRICT_TYPE_CHECKS |
1111 | 1127 | ||
1112 | default n | 1128 | default n |
@@ -1140,20 +1156,8 @@ config NET_NS | |||
1140 | 1156 | ||
1141 | endif # NAMESPACES | 1157 | endif # NAMESPACES |
1142 | 1158 | ||
1143 | config UIDGID_CONVERTED | ||
1144 | # True if all of the selected software conmponents are known | ||
1145 | # to have uid_t and gid_t converted to kuid_t and kgid_t | ||
1146 | # where appropriate and are otherwise safe to use with | ||
1147 | # the user namespace. | ||
1148 | bool | ||
1149 | default y | ||
1150 | |||
1151 | # Filesystems | ||
1152 | depends on XFS_FS = n | ||
1153 | |||
1154 | config UIDGID_STRICT_TYPE_CHECKS | 1159 | config UIDGID_STRICT_TYPE_CHECKS |
1155 | bool "Require conversions between uid/gids and their internal representation" | 1160 | bool "Require conversions between uid/gids and their internal representation" |
1156 | depends on UIDGID_CONVERTED | ||
1157 | default n | 1161 | default n |
1158 | help | 1162 | help |
1159 | While the nececessary conversions are being added to all subsystems this option allows | 1163 | While the nececessary conversions are being added to all subsystems this option allows |