Re: wake_up() from interrupt - on the next jiffie?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Solved (below).

On Mon, 4 Jul 2005 [email protected] wrote:

> 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. My test showed that the task is only woken up on the
> next jiffie. Kernel 2.6.11.10.
>
> Details: a program does a cfmakeraw() on a ttyS, and does blocking reads

setserial low_latency solves the problem. Thanks for not answering:-)

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux