wake_up() from interrupt - on the next jiffie?

2005-07-04 Thread gl
Hi This might well be my basic misunderstanding, or the test was wrong, but the probability is pretty low, so, asking here. I thought, if a task sleeps on, say, read() and then data come and there's no other runnable task with a higher priority, the sleeping task should be woken up immediately.

wake_up() from interrupt - on the next jiffie?

2005-07-04 Thread gl
Hi This might well be my basic misunderstanding, or the test was wrong, but the probability is pretty low, so, asking here. I thought, if a task sleeps on, say, read() and then data come and there's no other runnable task with a higher priority, the sleeping task should be woken up immediately.