On Wed, Mar 22, 2000 at 06:02:24PM +0100, David Olofson wrote:
> Wed, 22 Mar 2000 [EMAIL PROTECTED] wrote:
> > (BTW: from the Linux man page:
> >     As SCHED_FIFO and SCHED_RR processes can preempt
> >        other processes forever, only root processes are allowed to activate these
> >        policies under Linux.
> > )
> 
> Yep, you have to have *some* kind of adrenaline rush left with protected memory
> and all! ;-) If you want to be completely safe, you could always throw in a
> watchdog thread or something... I was thinking Magic SysRq key to kill the
> current (SCHED_FIFO or SCHED_RR) thread as another alternative, but I might be
> missing something that already exists.

You can use SysRq-K to kill everything on the current console.  Unfortuantely,
this does not work in X, and it's been screwing up my console lately.

But a SysRq real-time killer is a good idea.  I might just code one for
the fun of it.  A watchdog might be a better idea -- a high priority
real-time processes that watches to make sure SCHED_OTHER processes get
scheduled.




dave...

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to