Skip to contentSkip to conversation

softirq question

DISCUSSION Studierende der Universitaet des Saarlandes 1 participant 1 message May 23, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

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_process() since it's not guaranteed that 'current' is actually in the runqueue.]

--
Manfred