diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 12 | ||||
-rw-r--r-- | init/main.c | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/init/Kconfig b/init/Kconfig index a76d13189e47..9d3a7887a6d3 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -302,7 +302,7 @@ choice | |||
302 | # Kind of a stub config for the pure tick based cputime accounting | 302 | # Kind of a stub config for the pure tick based cputime accounting |
303 | config TICK_CPU_ACCOUNTING | 303 | config TICK_CPU_ACCOUNTING |
304 | bool "Simple tick based cputime accounting" | 304 | bool "Simple tick based cputime accounting" |
305 | depends on !S390 | 305 | depends on !S390 && !NO_HZ_FULL |
306 | help | 306 | help |
307 | This is the basic tick based cputime accounting that maintains | 307 | This is the basic tick based cputime accounting that maintains |
308 | statistics about user, system and idle time spent on per jiffies | 308 | statistics about user, system and idle time spent on per jiffies |
@@ -312,7 +312,7 @@ config TICK_CPU_ACCOUNTING | |||
312 | 312 | ||
313 | config VIRT_CPU_ACCOUNTING_NATIVE | 313 | config VIRT_CPU_ACCOUNTING_NATIVE |
314 | bool "Deterministic task and CPU time accounting" | 314 | bool "Deterministic task and CPU time accounting" |
315 | depends on HAVE_VIRT_CPU_ACCOUNTING | 315 | depends on HAVE_VIRT_CPU_ACCOUNTING && !NO_HZ_FULL |
316 | select VIRT_CPU_ACCOUNTING | 316 | select VIRT_CPU_ACCOUNTING |
317 | help | 317 | help |
318 | Select this option to enable more accurate task and CPU time | 318 | Select this option to enable more accurate task and CPU time |
@@ -342,7 +342,7 @@ config VIRT_CPU_ACCOUNTING_GEN | |||
342 | 342 | ||
343 | config IRQ_TIME_ACCOUNTING | 343 | config IRQ_TIME_ACCOUNTING |
344 | bool "Fine granularity task level IRQ time accounting" | 344 | bool "Fine granularity task level IRQ time accounting" |
345 | depends on HAVE_IRQ_TIME_ACCOUNTING | 345 | depends on HAVE_IRQ_TIME_ACCOUNTING && !NO_HZ_FULL |
346 | help | 346 | help |
347 | Select this option to enable fine granularity task irq time | 347 | Select this option to enable fine granularity task irq time |
348 | accounting. This is done by reading a timestamp on each | 348 | accounting. This is done by reading a timestamp on each |
@@ -576,7 +576,7 @@ config RCU_FANOUT_EXACT | |||
576 | 576 | ||
577 | config RCU_FAST_NO_HZ | 577 | config RCU_FAST_NO_HZ |
578 | bool "Accelerate last non-dyntick-idle CPU's grace periods" | 578 | bool "Accelerate last non-dyntick-idle CPU's grace periods" |
579 | depends on NO_HZ && SMP | 579 | depends on NO_HZ_COMMON && SMP |
580 | default n | 580 | default n |
581 | help | 581 | help |
582 | This option permits CPUs to enter dynticks-idle state even if | 582 | This option permits CPUs to enter dynticks-idle state even if |
@@ -687,7 +687,7 @@ choice | |||
687 | 687 | ||
688 | config RCU_NOCB_CPU_NONE | 688 | config RCU_NOCB_CPU_NONE |
689 | bool "No build_forced no-CBs CPUs" | 689 | bool "No build_forced no-CBs CPUs" |
690 | depends on RCU_NOCB_CPU | 690 | depends on RCU_NOCB_CPU && !NO_HZ_FULL |
691 | help | 691 | help |
692 | This option does not force any of the CPUs to be no-CBs CPUs. | 692 | This option does not force any of the CPUs to be no-CBs CPUs. |
693 | Only CPUs designated by the rcu_nocbs= boot parameter will be | 693 | Only CPUs designated by the rcu_nocbs= boot parameter will be |
@@ -695,7 +695,7 @@ config RCU_NOCB_CPU_NONE | |||
695 | 695 | ||
696 | config RCU_NOCB_CPU_ZERO | 696 | config RCU_NOCB_CPU_ZERO |
697 | bool "CPU 0 is a build_forced no-CBs CPU" | 697 | bool "CPU 0 is a build_forced no-CBs CPU" |
698 | depends on RCU_NOCB_CPU | 698 | depends on RCU_NOCB_CPU && !NO_HZ_FULL |
699 | help | 699 | help |
700 | This option forces CPU 0 to be a no-CBs CPU. Additional CPUs | 700 | This option forces CPU 0 to be a no-CBs CPU. Additional CPUs |
701 | may be designated as no-CBs CPUs using the rcu_nocbs= boot | 701 | may be designated as no-CBs CPUs using the rcu_nocbs= boot |
diff --git a/init/main.c b/init/main.c index ceed17aaedfd..9484f4ba88d0 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -544,6 +544,7 @@ asmlinkage void __init start_kernel(void) | |||
544 | idr_init_cache(); | 544 | idr_init_cache(); |
545 | perf_event_init(); | 545 | perf_event_init(); |
546 | rcu_init(); | 546 | rcu_init(); |
547 | tick_nohz_init(); | ||
547 | radix_tree_init(); | 548 | radix_tree_init(); |
548 | /* init some links before init_ISA_irqs() */ | 549 | /* init some links before init_ISA_irqs() */ |
549 | early_irq_init(); | 550 | early_irq_init(); |