[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] Scheduling a usermode process



On Thu, 4 Nov 1999 yodaiken@fsmlabs.com wrote:

> > and run immediately (or almost immediately).  I want to trigger this within 
> > an interrupt handler so my user space process can do some stuff after the 
> > interrupt has occured.
> > 
> 

> The simplest method is to use a soft interrupt handler and write a linux
> interrupt handler that
>  changes priority
> and wakes up the linux task.
> Enough people want to do this that we should probably have a generic utility ( hint).

Hey ! Does that mean that when RT interrupt handler writes to RT-FIFO, the
user application doing blocking read will not be awoken immediately? (I mean
as soon as the interrupt handler returns and the control can be returned to
the user task). I am aware that if the kernel code was interrupted, then we
have to wait until control returns to user space, but if the user process was
interrupted, schedule() should be run immediately.

I wonder how it is done in the network code - I guess when packet arrives, it
may cause reschedule after beeing processed by  NET_BH.

And by the way, what has happened to my request to export SFREQ variable and
to my "trigger linux interrupt" patch? I have not received a single comment
from RTL gurus about it.

Best regards,
--
Tomek

P.S. Sorry for my "city council" type remarks. I just do not have enough time
to actually dive in the code.

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/