Re: 2.6.11-rc3-mm1: softlockup and suspend/resume

From: Rafael J. Wysocki
Date: Sat Feb 05 2005 - 09:50:19 EST


On Saturday, 5 of February 2005 15:35, Ingo Molnar wrote:
>
> * Rafael J. Wysocki <rjw@xxxxxxx> wrote:
>
> > It looks like softlockup is not happy with suspend/resume:
>
> Does it happen while writing out state to disk?

No, it occurs during resume, right after the image has been restored (sorry,
I should have said this before).

> I've attached a patch for touch_softlockup_watchdog() below - but i think
> what we really need is another mechanism. I'm wondering what the primary
> reason for the lockup-detection is - did swsuspend stop the the softlockup
> threads?

If my understanding is correct, the time between suspend (ie the creation of
the image) and resume (ie the resotration of the image) is considered as spent
in the kernel, so it triggers softlockup as soon as its threads are woken up (is
that correct, Pavel?).

Greets,
Rafael


--
- 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/