Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261828AbVELMyQ (ORCPT ); Thu, 12 May 2005 08:54:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261864AbVELMyQ (ORCPT ); Thu, 12 May 2005 08:54:16 -0400 Received: from cantor2.suse.de ([195.135.220.15]:32993 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S261828AbVELMwv (ORCPT ); Thu, 12 May 2005 08:52:51 -0400 Date: Thu, 12 May 2005 14:52:51 +0200 From: Andi Kleen To: Jan Beulich Cc: ak@suse.de, linux-kernel@vger.kernel.org, discuss@x86-64.org Subject: Re: [PATCH] adjust x86-64 watchdog tick calculation Message-ID: <20050512125251.GL15690@wotan.suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 947 Lines: 21 On Thu, May 12, 2005 at 02:52:05PM +0200, Jan Beulich wrote: > >> Get the x86-64 watchdog tick calculation into a state where it can also > >> be used with nmi_hz other than 1Hz. Also do not turn on the watchdog by > >> default (as is already done on i386). > > > >I already fixed this some time ago by using the same code as i386. > > > >That is what is in the current tree: > > wrmsr(MSR_K7_PERFCTR0, -(cpu_khz/nmi_hz*1000), -1); > > > >But I guess your version will work with a higher frequency, right? > > For this part of the patch, yes, this will help with frequencies beyond 4GHz. The other change is which deals with nmi_hz being other than 1Hz. I will queue it for after 2.6.12. -Andi - 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/