Re: nmi_watchdog=2 regression in 2.6.21

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daniel Walker <dwalker@...>
Cc: <B.Steinbrink@...>, <ak@...>, <linux-kernel@...>, <akpm@...>, Stephane Eranian <eranian@...>
Date: Friday, August 31, 2007 - 12:21 pm

Daniel,

On Fri, Aug 31, 2007 at 07:43:20AM -0700, Daniel Walker wrote:
Ok, looks like deaulting to P6 does not quite work.

Here is a new version. This time I used a different approach.
I am must admit I am a bit puzzled by the duplication of information
between the wd_ops and the nmi_watchdog_ctlblk structure. My understanding
is that thelater is used as a cache for the info that needs to be per-cpu.

The wd_ops provides the MSR to use for the counter, yet all the setup_*()
routines hardcode the MSR. Not sure why?

In this patch, the setup_*() routine now extract the MSR from the wd_ops
to copy them into the nmi_watchdog_ctlblk. This is not done for P4 because
of the special and ugly case of HT. 

With this approach, we can now create a custom wd_ops for CoreDuo that is
a clone of the intel_arch_wd_ops, except for the MSR.

Could you try this one instead?

Thanks.

-- 

-Stephane
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Tue Aug 7, 8:06 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Björn, (Wed Aug 8, 10:20 am)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Mon Aug 27, 1:54 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Mon Aug 27, 1:55 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Mon Aug 27, 6:55 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Mon Aug 27, 7:07 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Tue Aug 28, 5:12 am)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Tue Aug 28, 10:34 am)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Tue Aug 28, 1:05 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Tue Aug 28, 2:30 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Tue Aug 28, 4:21 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Tue Aug 28, 3:46 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Tue Aug 28, 4:26 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Tue Aug 28, 4:13 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Wed Aug 29, 5:24 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Wed Aug 29, 9:21 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Thu Aug 30, 5:05 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Fri Aug 31, 10:43 am)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Fri Aug 31, 12:21 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Fri Aug 31, 12:35 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Björn, (Fri Aug 31, 2:06 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Fri Aug 31, 8:24 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Andi Kleen, (Sat Sep 1, 5:12 am)
Re: nmi_watchdog=2 regression in 2.6.21, Björn, (Fri Aug 31, 9:00 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Fri Aug 31, 9:36 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Andi Kleen, (Sat Sep 1, 6:19 am)
Re: nmi_watchdog=2 regression in 2.6.21, Stephane Eranian, (Sat Sep 1, 3:51 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Andi Kleen, (Sat Sep 1, 4:32 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Sat Sep 1, 4:46 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Mon Aug 20, 12:44 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Michal Piotrowski, (Thu Aug 23, 4:08 pm)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Thu Aug 23, 5:22 pm)
Who wants to maintain KR list for stable releases? (was Re: ..., Michal Piotrowski, (Sun Aug 26, 8:45 pm)
Re: Who wants to maintain KR list for stable releases? (was ..., Michal Piotrowski, (Mon Aug 27, 7:42 am)
Re: Who wants to maintain KR list for stable releases? (was ..., Michal Piotrowski, (Mon Aug 27, 7:38 am)
Re: Who wants to maintain KR list for stable releases? (was ..., Rafael J. Wysocki, (Mon Aug 27, 8:35 am)
Re: Who wants to maintain KR list for stable releases? (was ..., Michal Piotrowski, (Mon Aug 27, 11:02 am)
Re: Who wants to maintain KR list for stable releases? (was ..., Michal Piotrowski, (Mon Aug 27, 11:26 am)
Re: Who wants to maintain KR list for stable releases? (was ..., Natalie Protasevich, (Wed Aug 29, 3:42 am)
Re: Who wants to maintain KR list for stable releases? (was ..., Natalie Protasevich, (Wed Aug 29, 7:59 pm)
Re: Who wants to maintain KR list for stable releases?, Stefan Richter, (Thu Aug 30, 11:24 am)
Re: Who wants to maintain KR list for stable releases?, Stefan Richter, (Mon Sep 3, 9:20 am)
Re: Who wants to maintain KR list for stable releases? (was ..., Michal Piotrowski, (Mon Aug 27, 1:02 pm)
Re: Who wants to maintain KR list for stable releases? (was ..., Michal Piotrowski, (Mon Aug 27, 7:35 am)
Re: Who wants to maintain KR list for stable releases? (was ..., Michal Piotrowski, (Mon Aug 27, 11:11 am)
Re: nmi_watchdog=2 regression in 2.6.21, Daniel Walker, (Wed Aug 8, 11:20 am)