The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-kernel@vger.kernel.org, Andi Kleen <ak@suse.de>,
	Pavel Machek <pavel@ucw.cz>
Subject: Re: Fw: 2.6.9-rc1-mm4: swsusp + AMD64 = LOCKUP on CPU0
Date: Wed, 8 Sep 2004 15:00:49 +0200	[thread overview]
Message-ID: <20040908130049.GA15444@wotan.suse.de> (raw)
In-Reply-To: <200409081451.55531.rjw@sisk.pl>

On Wed, Sep 08, 2004 at 02:51:55PM +0200, Rafael J. Wysocki wrote:
> On Wednesday 08 of September 2004 14:01, Andi Kleen wrote:
> > Pavel Machek <pavel@ucw.cz> writes:
> > 
> > > Hi!
> > > 
> > > > One for you guys on lkml ;)
> > > 
> > > It simply takes long to count pages (O(n^2) algorithm), so watchdog
> > > triggers. I have better algorithm locally, but would like merge to
> > > linus first. (I posted it to lkml some days ago, I can attach the
> > > bigdiff).
> > > 
> > > Just disable the watchdog. Suspend *is* going to take time with
> > > disabled interrupts.
> > 
> > 
> > As a short term workaround you could also add touch_nmi_watchdog()s
> > in that loop.
> 
> You mean like that:

I doubt this will help, because the number of zones is quite small.

Better check every N pages, e.g. N=100

-Andi

  reply	other threads:[~2004-09-08 13:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040908021637.57525d43.akpm@osdl.org.suse.lists.linux.kernel>
     [not found] ` <20040908102652.GA2921@atrey.karlin.mff.cuni.cz.suse.lists.linux.kernel>
2004-09-08 12:01   ` Fw: 2.6.9-rc1-mm4: swsusp + AMD64 = LOCKUP on CPU0 Andi Kleen
2004-09-08 12:51     ` Rafael J. Wysocki
2004-09-08 13:00       ` Andi Kleen [this message]
2004-09-08 14:52         ` Rafael J. Wysocki
2004-09-08 14:54           ` Pavel Machek
     [not found] <20040908021637.57525d43.akpm@osdl.org>
2004-09-08 10:26 ` Pavel Machek
2004-09-08 12:19   ` Rafael J. Wysocki
2004-09-08 12:55     ` Zwane Mwaikambo
2004-09-08 14:47       ` Rafael J. Wysocki
2004-09-08 20:47         ` Rafael J. Wysocki

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=20040908130049.GA15444@wotan.suse.de \
    --to=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@sisk.pl \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox