All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Elie <phil.el@wanadoo.fr>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nmi_watchdog=2 and P4-HT
Date: Thu, 4 Mar 2004 08:04:27 +0000	[thread overview]
Message-ID: <20040304080427.GC683@zaniah> (raw)
In-Reply-To: <20040304054215.GA683@zaniah>

On Thu, 04 Mar 2004 at 05:42 +0000, Philippe Elie wrote:

> Hi,
> 
> Actually with nmi_watchdog=2 and a P4 ht box the nmi is reflected
> only on logical processor 0, it's better to get it on both.

oops a line from a next patch is in the patch "deliver nmi to both thread"
patch, apply this incremental patch please else on UP check_nmi_watchdog()
will use 1hz as rate and boot will wait 10 seconds for complementation
of this test.

Phil 


--- linux-2.6/arch/i386/kernel/nmi.c~	2004-03-04 07:59:22.000000000 +0000
+++ linux-2.6/arch/i386/kernel/nmi.c	2004-03-04 07:59:31.000000000 +0000
@@ -347,7 +347,6 @@ static int setup_p4_watchdog(void)
 	wrmsr(MSR_P4_IQ_COUNTER0, -(cpu_khz/nmi_hz*1000), -1);
 	apic_write(APIC_LVTPC, APIC_DM_NMI);
 	wrmsr(MSR_P4_IQ_CCCR0, nmi_p4_cccr_val, 0);
-	nmi_hz = 1;
 	return 1;
 }
 

      parent reply	other threads:[~2004-03-04  7:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-04  5:42 [PATCH] nmi_watchdog=2 and P4-HT Philippe Elie
2004-03-04  5:30 ` Andrew Morton
2004-03-04  7:26   ` Philippe Elie
2004-03-04  6:32     ` Andrew Morton
2004-03-04  8:20       ` Philippe Elie
2004-03-05  5:42       ` [PATCH] set nmi_hz to 1 with nmi_watchdog=2 and SMP Philippe Elie
2004-03-04  8:04 ` Philippe Elie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040304080427.GC683@zaniah \
    --to=phil.el@wanadoo.fr \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.