aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venki@google.com>2010-10-04 20:03:20 -0400
committerIngo Molnar <mingo@elte.hu>2010-10-18 14:52:25 -0400
commite82b8e4ea4f3dffe6e7939f90e78da675fcc450e (patch)
tree116e54691f87d2cb0f2f5df36d1e114624c225d0 /arch/x86/Kconfig
parentb52bfee445d315549d41eacf2fa7c156e7d153d5 (diff)
x86: Add IRQ_TIME_ACCOUNTING
This patch adds IRQ_TIME_ACCOUNTING option on x86 and runtime enables it when TSC is enabled. This change just enables fine grained irq time accounting, isn't used yet. Following patches use it for different purposes. Signed-off-by: Venkatesh Pallipadi <venki@google.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1286237003-12406-6-git-send-email-venki@google.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index cea0cd9a316f..f4c70c246ffe 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -795,6 +795,17 @@ config SCHED_MC
795 making when dealing with multi-core CPU chips at a cost of slightly 795 making when dealing with multi-core CPU chips at a cost of slightly
796 increased overhead in some places. If unsure say N here. 796 increased overhead in some places. If unsure say N here.
797 797
798config IRQ_TIME_ACCOUNTING
799 bool "Fine granularity task level IRQ time accounting"
800 default n
801 ---help---
802 Select this option to enable fine granularity task irq time
803 accounting. This is done by reading a timestamp on each
804 transitions between softirq and hardirq state, so there can be a
805 small performance impact.
806
807 If in doubt, say N here.
808
798source "kernel/Kconfig.preempt" 809source "kernel/Kconfig.preempt"
799 810
800config X86_UP_APIC 811config X86_UP_APIC