Marko Rauhamaa <[EMAIL PROTECTED]> writes:

> > X is a user space process, thus cannot disable interrupts, and
> > therefore cannot block the system.

This is not true.  X is a user space processes, but it is possible for
user space processes to disable interrupts.  I have personally done
it.  You have to modify your iopl and you have to be a supervisor
process, but you can do it.  And some X servers do this, I'm pretty
sure.  I know they go directly to the hardware.

And since X directly calls the cli and sti instructions instead of
calling the Linux functions in the kernel, even RTLinux cannot stop
this.

> 
> Besides, as a user process, X has absolutely no CPU bandwidth guarantees
> no matter what it's priority is. The other processes heavily interfere
> with timing. And ordinarily you don't have control over the processes
> that the user launches on the system. If the load is high enough, I
> guess it might take literally seconds before X wakes up after it has
> spent its time slice. ("I guess" because I don't know the specifics of
> the Linux scheduler.)

I believe this is true, but it doesn't have to be, if the X server
used Posix.1c process priorities.

-- 
Corey Minyard               Internet:  [EMAIL PROTECTED]
  Work: [EMAIL PROTECTED]       UUCP:  [EMAIL PROTECTED]
--- [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