> Is it possible to enter into sleep mode
> ( current->state = !RUNNING && schedule(_timeout))
> from a softirq ?
calling schedule() causes a panic() in schedule(), and even an innocent
current->state = TASK_RUNNING;
from an softirq causes runqueue corruptions.[you must use
wake_up_p
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 proc
2 matches
Mail list logo