aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/Kconfig6
-rw-r--r--kernel/time/Kconfig4
2 files changed, 6 insertions, 4 deletions
diff --git a/init/Kconfig b/init/Kconfig
index edc8132584f1..8f97a7407714 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -306,7 +306,7 @@ choice
306# Kind of a stub config for the pure tick based cputime accounting 306# Kind of a stub config for the pure tick based cputime accounting
307config TICK_CPU_ACCOUNTING 307config TICK_CPU_ACCOUNTING
308 bool "Simple tick based cputime accounting" 308 bool "Simple tick based cputime accounting"
309 depends on !S390 309 depends on !S390 && !NO_HZ_FULL
310 help 310 help
311 This is the basic tick based cputime accounting that maintains 311 This is the basic tick based cputime accounting that maintains
312 statistics about user, system and idle time spent on per jiffies 312 statistics about user, system and idle time spent on per jiffies
@@ -316,7 +316,7 @@ config TICK_CPU_ACCOUNTING
316 316
317config VIRT_CPU_ACCOUNTING_NATIVE 317config VIRT_CPU_ACCOUNTING_NATIVE
318 bool "Deterministic task and CPU time accounting" 318 bool "Deterministic task and CPU time accounting"
319 depends on HAVE_VIRT_CPU_ACCOUNTING 319 depends on HAVE_VIRT_CPU_ACCOUNTING && !NO_HZ_FULL
320 select VIRT_CPU_ACCOUNTING 320 select VIRT_CPU_ACCOUNTING
321 help 321 help
322 Select this option to enable more accurate task and CPU time 322 Select this option to enable more accurate task and CPU time
@@ -346,7 +346,7 @@ config VIRT_CPU_ACCOUNTING_GEN
346 346
347config IRQ_TIME_ACCOUNTING 347config IRQ_TIME_ACCOUNTING
348 bool "Fine granularity task level IRQ time accounting" 348 bool "Fine granularity task level IRQ time accounting"
349 depends on HAVE_IRQ_TIME_ACCOUNTING 349 depends on HAVE_IRQ_TIME_ACCOUNTING && !NO_HZ_FULL
350 help 350 help
351 Select this option to enable fine granularity task irq time 351 Select this option to enable fine granularity task irq time
352 accounting. This is done by reading a timestamp on each 352 accounting. This is done by reading a timestamp on each
diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig
index 1ea2bba4a686..a2ddd650cb92 100644
--- a/kernel/time/Kconfig
+++ b/kernel/time/Kconfig
@@ -104,11 +104,13 @@ config NO_HZ_FULL
104 depends on SMP 104 depends on SMP
105 # RCU_USER_QS dependency 105 # RCU_USER_QS dependency
106 depends on HAVE_CONTEXT_TRACKING 106 depends on HAVE_CONTEXT_TRACKING
107 depends on VIRT_CPU_ACCOUNTING_GEN 107 # VIRT_CPU_ACCOUNTING_GEN dependency
108 depends on 64BIT
108 select NO_HZ_COMMON 109 select NO_HZ_COMMON
109 select RCU_USER_QS 110 select RCU_USER_QS
110 select RCU_NOCB_CPU 111 select RCU_NOCB_CPU
111 select RCU_NOCB_CPU_ALL 112 select RCU_NOCB_CPU_ALL
113 select VIRT_CPU_ACCOUNTING_GEN
112 select CONTEXT_TRACKING_FORCE 114 select CONTEXT_TRACKING_FORCE
113 select IRQ_WORK 115 select IRQ_WORK
114 help 116 help