diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 35 | ||||
-rw-r--r-- | init/main.c | 4 |
2 files changed, 24 insertions, 15 deletions
diff --git a/init/Kconfig b/init/Kconfig index ed9c19e02f93..089a230e5652 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 |
@@ -955,19 +971,6 @@ config PERF_EVENTS | |||
955 | 971 | ||
956 | Say Y if unsure. | 972 | Say Y if unsure. |
957 | 973 | ||
958 | config EVENT_PROFILE | ||
959 | bool "Tracepoint profiling sources" | ||
960 | depends on PERF_EVENTS && EVENT_TRACING | ||
961 | default y | ||
962 | help | ||
963 | Allow the use of tracepoints as software performance events. | ||
964 | |||
965 | When this is enabled, you can create perf events based on | ||
966 | tracepoints using PERF_TYPE_TRACEPOINT and the tracepoint ID | ||
967 | found in debugfs://tracing/events/*/*/id. (The -e/--events | ||
968 | option to the perf tool can parse and interpret symbolic | ||
969 | tracepoints, in the subsystem:tracepoint_name format.) | ||
970 | |||
971 | config PERF_COUNTERS | 974 | config PERF_COUNTERS |
972 | bool "Kernel performance counters (old config option)" | 975 | bool "Kernel performance counters (old config option)" |
973 | depends on HAVE_PERF_EVENTS | 976 | depends on HAVE_PERF_EVENTS |
@@ -1091,7 +1094,7 @@ config MMAP_ALLOW_UNINITIALIZED | |||
1091 | See Documentation/nommu-mmap.txt for more information. | 1094 | See Documentation/nommu-mmap.txt for more information. |
1092 | 1095 | ||
1093 | config PROFILING | 1096 | config PROFILING |
1094 | bool "Profiling support (EXPERIMENTAL)" | 1097 | bool "Profiling support" |
1095 | help | 1098 | help |
1096 | Say Y here to enable the extended profiling support mechanisms used | 1099 | Say Y here to enable the extended profiling support mechanisms used |
1097 | by profilers such as OProfile. | 1100 | by profilers such as OProfile. |
@@ -1241,4 +1244,8 @@ source "block/Kconfig" | |||
1241 | config PREEMPT_NOTIFIERS | 1244 | config PREEMPT_NOTIFIERS |
1242 | bool | 1245 | bool |
1243 | 1246 | ||
1247 | config PADATA | ||
1248 | depends on SMP | ||
1249 | bool | ||
1250 | |||
1244 | source "kernel/Kconfig.locks" | 1251 | 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(); |