Re: idle may not sleep

Andi Kleen (ak@muc.de)
22 May 1998 04:24:37 +0200


Rik van Riel <H.H.vanRiel@phys.uu.nl> writes:

> On Thu, 21 May 1998, Rick Harlton wrote:
>
> > I'm wondering if any of you know what could be going on when Linux
> > reports "idle may not sleep" a few times and then proceeds to lock up
> > hard. I have not seen this problem and I suspect it may be hardware
> > related.
>
> It basically means that the idle task (just an infinite
> loop which executes the CPU hlt() instruction) tries to
> add itself to a wait queue.

The problem is usually caused by an interrupt or a bottom half that tries
to sleep. Because the idle task runs most of the time on many systems it
usually is the victim.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu