lkml.org 
[lkml]   [2004]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Fw: 2.6.9-rc1-mm4: swsusp + AMD64 = LOCKUP on CPU0
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
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.033 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site