]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter/x86: Always use NMI for performance-monitoring interrupt
authorYong Wang <yong.y.wang@linux.intel.com>
Fri, 29 May 2009 05:28:35 +0000 (13:28 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 May 2009 07:04:58 +0000 (09:04 +0200)
commitea9eb64d923591220fcf79fae24aa27a7c9f8dc8
tree4e674688eb9ba7a84ab34db4bf51cfca34edf6ed
parentcc63423efe5d8a9ff8c522f0d44b01a06d325542
perf_counter/x86: Always use NMI for performance-monitoring interrupt

Always use NMI for performance-monitoring interrupt as there could be
racy situations if we switch between irq and nmi mode frequently.

Signed-off-by: Yong Wang <yong.y.wang@intel.com>
LKML-Reference: <20090529052835.GA13657@ywang-moblin2.bj.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_counter.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/cpu/perf_counter.c