diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2012-06-16 09:39:34 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2012-08-17 10:31:08 -0400 |
commit | b952741c80790d2dc9f17fac6f15d87d58dea2a1 (patch) | |
tree | d6d1e9bae89ad117052228de7c0d3a741b9b415b /init/Kconfig | |
parent | c7660994ed6b44d17dad0aac0d156da1e0a2f003 (diff) |
cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING
S390, ia64 and powerpc all define their own version
of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config
and its description to a single place to avoid
duplication.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index af6c7f8ba019..c40d0fb044ef 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -267,6 +267,19 @@ config POSIX_MQUEUE_SYSCTL | |||
267 | depends on SYSCTL | 267 | depends on SYSCTL |
268 | default y | 268 | default y |
269 | 269 | ||
270 | config VIRT_CPU_ACCOUNTING | ||
271 | bool "Deterministic task and CPU time accounting" | ||
272 | depends on HAVE_VIRT_CPU_ACCOUNTING | ||
273 | default y if PPC64 | ||
274 | help | ||
275 | Select this option to enable more accurate task and CPU time | ||
276 | accounting. This is done by reading a CPU counter on each | ||
277 | kernel entry and exit and on transitions within the kernel | ||
278 | between system, softirq and hardirq state, so there is a | ||
279 | small performance impact. In the case of s390 or IBM POWER > 5, | ||
280 | this also enables accounting of stolen time on logically-partitioned | ||
281 | systems. | ||
282 | |||
270 | config BSD_PROCESS_ACCT | 283 | config BSD_PROCESS_ACCT |
271 | bool "BSD Process Accounting" | 284 | bool "BSD Process Accounting" |
272 | help | 285 | help |