> I just read some VMS documentation, and I had one pretty idea. Why not to
> get some real-time code into linux kernel ? 1st, the do-not-swap option for
> process start. For example:
>
>
> [user@place ~]> noswap /usr/local/bin/superprog
>
> And this process never will be swapped.
check out mlock().
> 2nd, enter some code in sched.c to give processor to one process every time
> it needs it (oh, my english). For example:
>
> [user@place ~]> startprior /usr/local/bin/superprog
check out sched_setscheduler().
> What do you think ?
all of this exists already :)
-- mingo