Re: [PATCH 3/3 v2] nmi_watchdog: config option to enable new nmi_watchdog

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Don Zickus
Date: Monday, February 8, 2010 - 7:58 am

On Mon, Feb 08, 2010 at 08:19:54AM +0100, Ingo Molnar wrote:

I guess I assumed the perf event subsystem would take care of that which
is why I made the config option dependent on PERF_EVENTS.  I am open to
suggestions on enhance it.


I believe the call to perf_event_create_kernel_counter would fail, which
then prevents the cpu from coming online.  Probably not the smartest thing
to do.  I was looking at adding code to fall back to trying PERF_TYPE_SOFTWARE.
Let me dig up a P4 box and see what happens.


Agreed.

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

Messages in current thread:
[tip:perf/nmi] nmi_watchdog: Config option to enable new n ..., tip-bot for Don Zickus, (Mon Feb 8, 1:52 am)
Re: [PATCH 3/3 v2] nmi_watchdog: config option to enable n ..., Don Zickus, (Mon Feb 8, 7:58 am)
[tip:perf/nmi] nmi_watchdog: Only enable on x86 for now, tip-bot for Ingo Molnar, (Tue Feb 9, 3:51 am)