Re: 2.6.10-mm2: swsusp regression [update]

From: Rafael J. Wysocki
Date: Sat Jan 08 2005 - 04:59:18 EST


On Saturday, 8 of January 2005 01:56, Rafael J. Wysocki wrote:
> On Friday, 7 of January 2005 23:12, Nigel Cunningham wrote:
> > Hi.
> >
> > On Fri, 2005-01-07 at 23:45, Rafael J. Wysocki wrote:
> > > > ..so... could you go through sysdev_register()s, one by one,
> > > > commenting them to see which one causes the regression? That driver
> > > > then needs to be fixed.
> > > >
> > > > Go after mtrr and time in first places.
> > >
> > > OK, but it'll take some time.
> >
> > There's an MTRR fix in the -overloaded ck patches. Perhaps it is what
> > you're after. (Or perhaps it's already included :>)
> >
> > http://kem.p.lodz.pl/~peter/cko/fixes/2.6.10-cko1-swsusp_fix.patch
>
> Thanks for pointing it out. I have adapted this patch to -mm2, but
> unfortunately it does not fix the issue. Still searching. ;-)

The regression is caused by the timer driver. Obviously, turning
timer_resume() in arch/x86_64/kernel/time.c into a NOOP makes it go away.

It looks like a locking problem to me. I'll try to find a fix, although
someone who knows more about these things would probably do it faster. :-)

Greets,
RJW

--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/