Re: [PATCH -v3] perf, x86: try to handle unknown nmis with running perfctrs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Don Zickus
Date: Friday, August 27, 2010 - 6:44 am

On Fri, Aug 27, 2010 at 10:10:38AM +0200, Robert Richter wrote:

Yeah, I can do that.  The other patch was just a proof of concept to see
what others thought.

What is funny is that this problem was masked by the
perf_event_nmi_handler swallowing all the nmis.  I wonder if we were
losing events as a result of this bug too because if you think about it,
we processed the first event, a second event came in and we accidentally
ack'd it, thus dropping it on the floor.  Now I wonder how the event was
ever reloaded, unless it was by accident because of how the scheduler
deals with perf counters (perf_start/stop all the time).

Cheers,
Don
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ..., Frederic Weisbecker, (Wed Aug 25, 4:52 pm)
Re: [PATCH -v3] perf, x86: try to handle unknown nmis with ..., Don Zickus, (Fri Aug 27, 6:44 am)