Re: softirq question

Andi Kleen (ak@suse.de)
Wed, 23 May 2001 11:39:14 +0200


On Wed, May 23, 2001 at 12:26:49PM +0200, Aviv Greenberg wrote:
> Hi,
>
> Is it possible to enter into sleep mode
> ( current->state = !RUNNING && schedule(_timeout))
> from a softirq ?

No.

>
> It is not a real hardware interrupt after all, but it still runs in
> the context of a running process....

It is for all practical purposes like an interrupt and can run in any
process context.

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