Re: softirq question

2001-05-23 Thread Studierende der Universitaet des Saarlandes
> 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

Re: softirq question

2001-05-23 Thread Andi Kleen
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