mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andi Kleen <ak@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: Fw: 2.6.9-rc1-mm4: swsusp + AMD64 = LOCKUP on CPU0
Date: Wed, 8 Sep 2004 16:54:33 +0200	[thread overview]
Message-ID: <20040908145433.GC11663@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <200409081652.43463.rjw@sisk.pl>

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
> 
> I've done something like that:

...
> +					nmi_cnt = 0;
...

> and it works, but it seems to me that something similar is necessary for 
> resuming (I get an NMI watchdog report if it's not disabled).

Actually, it can not be solved like that. If some memory is actually
modified by nmi watchdog, you might get inconsistent snapshot; bad.

									Pavel

  reply	other threads:[~2004-09-08 15:01 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   ` Andi Kleen
2004-09-08 12:51     ` Rafael J. Wysocki
2004-09-08 13:00       ` Andi Kleen
2004-09-08 14:52         ` Rafael J. Wysocki
2004-09-08 14:54           ` Pavel Machek [this message]
     [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=20040908145433.GC11663@atrey.karlin.mff.cuni.cz \
    --to=pavel@suse.cz \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®