login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
12
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with running perfctrs
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Don Zickus
Subject:
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with running perfctrs
Date: Thursday, August 12, 2010 - 6:52 am
On Thu, Aug 12, 2010 at 12:00:58AM +0200, Robert Richter wrote:
quoted text
> I was debuging this a little more, see version 2 below. > > -Robert > > -- > > From 8bb831af56d118b85fc38e0ddc2e516f7504b9fb Mon Sep 17 00:00:00 2001 > From: Robert Richter <robert.richter@amd.com> > Date: Thu, 5 Aug 2010 16:19:59 +0200 > Subject: [PATCH] perf, x86: try to handle unknown nmis with running perfctrs > > When perfctrs are running it is valid to have unhandled nmis, two > events could trigger 'simultaneously' raising two back-to-back > NMIs. If the first NMI handles both, the latter will be empty and daze > the CPU. > > The solution to avoid an 'unknown nmi' massage in this case was simply > to stop the nmi handler chain when perfctrs are runnning by stating > the nmi was handled. This has the drawback that a) we can not detect > unknown nmis anymore, and b) subsequent nmi handlers are not called. > > This patch addresses this. Now, we check this unknown NMI if it could > be a perfctr back-to-back NMI. Otherwise we pass it and let the kernel > handle the unknown nmi.
Seems to cover my concerns. Great work! ACK Cheers, Don --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
A question of perf NMI handler
, Lin Ming
, (Wed Aug 4, 2:21 am)
Re: A question of perf NMI handler
, Peter Zijlstra
, (Wed Aug 4, 2:50 am)
Re: A question of perf NMI handler
, Robert Richter
, (Wed Aug 4, 3:01 am)
Re: A question of perf NMI handler
, Peter Zijlstra
, (Wed Aug 4, 3:24 am)
Re: A question of perf NMI handler
, Robert Richter
, (Wed Aug 4, 3:29 am)
Re: A question of perf NMI handler
, Don Zickus
, (Wed Aug 4, 6:54 am)
Re: A question of perf NMI handler
, Don Zickus
, (Wed Aug 4, 7:00 am)
Re: A question of perf NMI handler
, Peter Zijlstra
, (Wed Aug 4, 7:11 am)
Re: A question of perf NMI handler
, Don Zickus
, (Wed Aug 4, 7:52 am)
Re: A question of perf NMI handler
, Peter Zijlstra
, (Wed Aug 4, 8:02 am)
Re: A question of perf NMI handler
, Cyrill Gorcunov
, (Wed Aug 4, 8:18 am)
Re: A question of perf NMI handler
, Don Zickus
, (Wed Aug 4, 8:45 am)
Re: A question of perf NMI handler
, Don Zickus
, (Wed Aug 4, 8:50 am)
Re: A question of perf NMI handler
, Cyrill Gorcunov
, (Wed Aug 4, 9:10 am)
Re: A question of perf NMI handler
, Don Zickus
, (Wed Aug 4, 9:20 am)
Re: A question of perf NMI handler
, Cyrill Gorcunov
, (Wed Aug 4, 9:39 am)
Re: A question of perf NMI handler
, Robert Richter
, (Wed Aug 4, 11:48 am)
Re: A question of perf NMI handler
, Andi Kleen
, (Wed Aug 4, 12:22 pm)
Re: A question of perf NMI handler
, Cyrill Gorcunov
, (Wed Aug 4, 12:26 pm)
Re: A question of perf NMI handler
, Robert Richter
, (Thu Aug 5, 11:52 pm)
Re: A question of perf NMI handler
, Don Zickus
, (Fri Aug 6, 7:21 am)
Re: A question of perf NMI handler
, Andi Kleen
, (Fri Aug 6, 8:35 am)
Re: A question of perf NMI handler
, Andi Kleen
, (Fri Aug 6, 8:37 am)
[PATCH] perf, x86: try to handle unknown nmis with running ...
, Robert Richter
, (Mon Aug 9, 12:48 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Cyrill Gorcunov
, (Mon Aug 9, 1:02 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Tue Aug 10, 12:42 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Cyrill Gorcunov
, (Tue Aug 10, 9:16 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Tue Aug 10, 9:41 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Cyrill Gorcunov
, (Tue Aug 10, 10:24 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Tue Aug 10, 12:05 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Cyrill Gorcunov
, (Tue Aug 10, 12:24 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Don Zickus
, (Tue Aug 10, 1:48 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Frederic Weisbecker
, (Tue Aug 10, 7:44 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Huang Ying
, (Tue Aug 10, 8:19 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Wed Aug 11, 4:10 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Don Zickus
, (Wed Aug 11, 5:36 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Don Zickus
, (Wed Aug 11, 5:39 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Don Zickus
, (Wed Aug 11, 5:44 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Wed Aug 11, 7:03 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Don Zickus
, (Wed Aug 11, 7:32 am)
[PATCH -v2] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Wed Aug 11, 3:00 pm)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Robert Richter
, (Thu Aug 12, 6:10 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Thu Aug 12, 6:24 am)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Thu Aug 12, 6:52 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Cyrill Gorcunov
, (Thu Aug 12, 7:31 am)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Thu Aug 12, 11:21 am)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Frederic Weisbecker
, (Thu Aug 12, 9:25 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Frederic Weisbecker
, (Thu Aug 12, 9:37 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Fri Aug 13, 1:22 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Frederic Weisbecker
, (Fri Aug 13, 6:28 pm)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Fri Aug 13, 7:29 pm)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Robert Richter
, (Mon Aug 16, 12:37 am)
Re: [PATCH] perf, x86: try to handle unknown nmis with run ...
, Peter Zijlstra
, (Mon Aug 16, 7:37 am)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Peter Zijlstra
, (Mon Aug 16, 7:48 am)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Cyrill Gorcunov
, (Mon Aug 16, 9:27 am)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Robert Richter
, (Mon Aug 16, 10:16 am)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Cyrill Gorcunov
, (Mon Aug 16, 12:06 pm)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Peter Zijlstra
, (Mon Aug 16, 12:13 pm)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Cyrill Gorcunov
, (Mon Aug 16, 12:18 pm)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Robert Richter
, (Mon Aug 16, 3:55 pm)
[PATCH -v3] perf, x86: try to handle unknown nmis with run ...
, Robert Richter
, (Tue Aug 17, 8:22 am)
Re: [PATCH -v2] perf, x86: try to handle unknown nmis with ...
, Cyrill Gorcunov
, (Tue Aug 17, 8:23 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Cyrill Gorcunov
, (Tue Aug 17, 9:17 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Peter Zijlstra
, (Thu Aug 19, 3:45 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Robert Richter
, (Thu Aug 19, 5:39 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Thu Aug 19, 7:12 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Peter Zijlstra
, (Thu Aug 19, 7:27 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Thu Aug 19, 8:20 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Cyrill Gorcunov
, (Thu Aug 19, 10:43 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Peter Zijlstra
, (Thu Aug 19, 10:53 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Thu Aug 19, 2:58 pm)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Thu Aug 19, 6:50 pm)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Ingo Molnar
, (Fri Aug 20, 1:16 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Robert Richter
, (Fri Aug 20, 1:36 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Peter Zijlstra
, (Fri Aug 20, 1:50 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Peter Zijlstra
, (Fri Aug 20, 3:04 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Cyrill Gorcunov
, (Fri Aug 20, 3:30 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Fri Aug 20, 5:39 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Ingo Molnar
, (Fri Aug 20, 6:27 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Fri Aug 20, 6:51 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Ingo Molnar
, (Fri Aug 20, 7:17 am)
[tip:perf/urgent] perf, x86: Try to handle unknown nmis wi ...
, tip-bot for Robert R ...
, (Fri Aug 20, 7:17 am)
[tip:perf/urgent] perf, x86: Fix handle_irq return values
, tip-bot for Peter Zi ...
, (Fri Aug 20, 7:17 am)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Cyrill Gorcunov
, (Fri Aug 20, 1:45 pm)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ...
, Don Zickus
, (Tue Aug 24, 2:48 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Stefano Stabellini
Re: [PATCH 09/22] xen: Find an unbound irq number in reverse order (high to low).
git
:
Junio C Hamano
Re: Teach "git checkout" to use git-show-ref
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Jon Smirl
stgit: managing signed-off-by lines
Junio C Hamano
GIT 1.4.3-rc2
git-commits-head
:
Linux Kernel Mailing List
MIPS: Bonito64: Make Loongson independent from Bonito64 code.
Linux Kernel Mailing List
iwlwifi: initialize spinlock before use
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
Linux Kernel Mailing List
cirrusfb: GD5434 (aka SD64) support fixed
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Sathya Perla
[PATCH net-next-2.6] be2net: add multiple RX queue support
Changli Gao
Re: [PATCH 3/3] ifb: move tq from ifb_private
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
韓家標 Bill Hacker
Re: ZFS honesty
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
rmgls
man usb2_core(4)
Sam Leffler
Re: Lots of "ath0: bad series0 hwrate 0x1b" in 8.0-BETA2
Colocation donated by:
Syndicate