diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 22 | ||||
-rw-r--r-- | init/main.c | 4 |
2 files changed, 24 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig index ada48441aff8..c6d95f8ea055 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -396,6 +396,22 @@ config RCU_FANOUT_EXACT | |||
396 | 396 | ||
397 | Say N if unsure. | 397 | Say N if unsure. |
398 | 398 | ||
399 | config RCU_FAST_NO_HZ | ||
400 | bool "Accelerate last non-dyntick-idle CPU's grace periods" | ||
401 | depends on TREE_RCU && NO_HZ && SMP | ||
402 | default n | ||
403 | help | ||
404 | This option causes RCU to attempt to accelerate grace periods | ||
405 | in order to allow the final CPU to enter dynticks-idle state | ||
406 | more quickly. On the other hand, this option increases the | ||
407 | overhead of the dynticks-idle checking, particularly on systems | ||
408 | with large numbers of CPUs. | ||
409 | |||
410 | Say Y if energy efficiency is critically important, particularly | ||
411 | if you have relatively few CPUs. | ||
412 | |||
413 | Say N if you are unsure. | ||
414 | |||
399 | config TREE_RCU_TRACE | 415 | config TREE_RCU_TRACE |
400 | def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU ) | 416 | def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU ) |
401 | select DEBUG_FS | 417 | select DEBUG_FS |
@@ -1099,7 +1115,7 @@ config MMAP_ALLOW_UNINITIALIZED | |||
1099 | See Documentation/nommu-mmap.txt for more information. | 1115 | See Documentation/nommu-mmap.txt for more information. |
1100 | 1116 | ||
1101 | config PROFILING | 1117 | config PROFILING |
1102 | bool "Profiling support (EXPERIMENTAL)" | 1118 | bool "Profiling support" |
1103 | help | 1119 | help |
1104 | Say Y here to enable the extended profiling support mechanisms used | 1120 | Say Y here to enable the extended profiling support mechanisms used |
1105 | by profilers such as OProfile. | 1121 | by profilers such as OProfile. |
@@ -1249,4 +1265,8 @@ source "block/Kconfig" | |||
1249 | config PREEMPT_NOTIFIERS | 1265 | config PREEMPT_NOTIFIERS |
1250 | bool | 1266 | bool |
1251 | 1267 | ||
1268 | config PADATA | ||
1269 | depends on SMP | ||
1270 | bool | ||
1271 | |||
1252 | source "kernel/Kconfig.locks" | 1272 | source "kernel/Kconfig.locks" |
diff --git a/init/main.c b/init/main.c index dac44a9356a5..c75dcd6eef09 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -416,7 +416,9 @@ static noinline void __init_refok rest_init(void) | |||
416 | kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND); | 416 | kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND); |
417 | numa_default_policy(); | 417 | numa_default_policy(); |
418 | pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); | 418 | pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); |
419 | rcu_read_lock(); | ||
419 | kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns); | 420 | kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns); |
421 | rcu_read_unlock(); | ||
420 | unlock_kernel(); | 422 | unlock_kernel(); |
421 | 423 | ||
422 | /* | 424 | /* |
@@ -657,9 +659,9 @@ asmlinkage void __init start_kernel(void) | |||
657 | proc_caches_init(); | 659 | proc_caches_init(); |
658 | buffer_init(); | 660 | buffer_init(); |
659 | key_init(); | 661 | key_init(); |
662 | radix_tree_init(); | ||
660 | security_init(); | 663 | security_init(); |
661 | vfs_caches_init(totalram_pages); | 664 | vfs_caches_init(totalram_pages); |
662 | radix_tree_init(); | ||
663 | signals_init(); | 665 | signals_init(); |
664 | /* rootfs populating might need page-writeback */ | 666 | /* rootfs populating might need page-writeback */ |
665 | page_writeback_init(); | 667 | page_writeback_init(); |