Re: softirq question

From: Andi Kleen (ak@suse.de)
Date: Wed May 23 2001 - 04:39:14 EST


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/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:51 EST