Re: realtime idea

Ingo Molnar (mingo@pc5829.hil.siemens.at)
Sun, 27 Oct 1996 20:18:09 +0100 (MET)


On Sun, 27 Oct 1996, Egor Egorov wrote:

> 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